Forum Replies Created

Viewing 1 replies (of 1 total)
  • Feel free to use:

    
    <script>
    var input = document.getElementById('filter_widget-2_price_from'),
    parent = input.parentNode,
    select = document.createElement('SELECT');
    
    select.id = input.id;
    select.innerHTML =
    '<option value="1">1</option>' + 
    '<option value="2">2</option>';
    select.name = input.name;
    
    parent.insertBefore(select, input);
    parent.removeChild(input);
    </script>
    
    • This reply was modified 9 years, 1 month ago by Bareza.
    • This reply was modified 9 years, 1 month ago by Bareza.
Viewing 1 replies (of 1 total)