Hi all.
I am using jquery to dynamically create div sections on my web app. I am using the appendTo function to create these div's depending on the return results from my xml.
Now one of the div blocks that creates.. need to also have the ability to run the jquery autocomplete.
I have found that I can't append <script></script> tags to the html or as I have read they are dropped after being evaluated. I have tried .. to add this as a function to the input box.
example Zipcode: <input type="text" /><script>...here autocomplete jquery syntax ... </script>.
I have tried to get this on by doing ('</div>').text('<script>...).append
I have tried ('#Id').html('<script>...).append etc
I have tried enter it closing script tag .. as +'</' +'script>' and also <\/script>
if anyone has a better suggestion on how to dynamically add the jquery ability autocomplete to a div please let me know.. since I am stuck.
Thanks
p.s. I can't provide any scripts.. the scripts reside offline on a box that has no external internet connection.
p.s.s I have tried these exampled and still no luck at seeing the javascript script
http://stackoverflow.com/questions/9612 ... t-to-a-divhttp://stackoverflow.com/questions/1433 ... via-jquery