I’m loading a html form with an AJAX call. The return is some input html code.
If I make an alert of the code, I’ve got this :
<input type="hidden" name="data[Point][lat]" id="PointLat" value="45820545077811445" autocomplete="off" />
After adding the html code to the page (with jQuerys’ html() method), my source code looks like this :
<input id="PointLat" type="hidden" value="0" autocomplete="off" name="data[Point][lat]">
I’m running out of ideas here !
Thanks !
I tried in exactly similar way you have tried… there is no way the code which you have put up is changing it….
There surely exists some code.. which changes the value of
PointLatsearch for something$("#PointLat").val(0)or$("#PointLat").val('')or something similar…Please post the code update as mentioned by @cole