Issuing an ajax call to a cgi, and passing a parameter.  The parameter is the
value of a text box on the page.

But for some reason, the value isn't being sent to jqModal as I call it.  It
just stays the same as it is when the page loads.

<script type="text/javascript">
\$(document).ready(function() {
$('#bar').jqm({ajax: 'ajax_hspick.cgi?q=' + document.addPlayerForm.foo.value
, trigger: 'input.bar'});
});
</script>

<input type="text" name="foo" value="testing">
<input type="button" class="bar" value="Go">
<div class="jqmWindow" id="bar">
Please wait... 
</div>

In this instance, it will past "testing" to the cgi, even if I change the
value in the text box.  Please advise!  Perl guy trying to dabble in
javascript!!!
:-(

-- 
View this message in context: 
http://www.nabble.com/jqModal-ajax-weirdness-tf4653993s27240.html#a13296835
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to