I'm issuing an ajax call, and passing a parameter. The parameter is the value of a text box on the page, which loads with a default based on a database call.
But for some reason, the value isn't being sent in the ajax call. It just stays the same as it is when the page loads, even if the user updates what's in the text box. <script type="text/javascript"> \$(document).ready(function() { $('#bar').jqm({ajax: 'ajax_hspick.cgi?q=' + document.myForm.foo.value , trigger: 'input.bar'}); }); </script> <form name="myForm"> <input type="text" name="foo" value="testing"> <input type="button" class="bar" value="Go"> <div class="jqmWindow" id="bar"> Please wait... </div> </form> In this instance, it will past "testing" to the cgi, even if I change the value in the text box. I've tried numerous stuff and can't figure this one out. Thanks! -- View this message in context: http://www.nabble.com/jqModal-ajax-question-tf4664038s27240.html#a13323545 Sent from the jQuery General Discussion mailing list archive at Nabble.com.