Posts by DryAlves • 31 points
3 posts
-
0
votes1
answer814
viewsQ: Bootstrap selectpicker class, does not recognize insertion of <option> via jquery (.html())
I’m using the Bootstrap framework, and the Selectpicker class to receive city data by status. The script works well, returns data, but instead of inserting <option> Cidade X </option> he…
-
0
votes4
answers949
viewsA: Change select element value (Ajax + php) with innerHTML
I also tried this way, with Get method: function getCity(state_id) { if (window.XMLHttpRequest) { xmlhttp3 = new XMLHttpRequest(); } else { xmlhttp3 = new ActiveXObject("Microsoft.XMLHTTP"); }…
-
3
votes4
answers949
viewsQ: Change select element value (Ajax + php) with innerHTML
Hello, I’m doing the famous combo of state carries city. Everything is working perfectly, as I will debug in my script, until the moment that must change the value of select (options returned from…