I've started using jQuery in an existing web app and am having some trouble.
The app uses a javascript date selector - click on the little calendar image
and a popup opens; click on the date and it sets a text box value in the
main window then closes itself. 

In between updating the text box and closing the popup, I have added a call
to a function defined in the main window (i.e. setTextBox(v);
window.opener.updateFunc(); window.close; ). updateFunc() updates a select
input in the main window based on the selected date - basically just
$('#selector').load(page, params). This works as expected when manually
typing an address into the box - it's just wired to the text box's change
event. With the popup, updateFunc is called with correct arguments (verified
via alerts), but the load doesn't actually happen. Any ideas why? Any work
arounds?

I first expected that the calendar popup setting the text box value would
trigger the box's change event, but it doesn't.

Thanks,

Jeremy Bratton
Application Developer
Big River Telephone Company, LLC
800.455.1608 x103
573.651.3373 x103
[EMAIL PROTECTED] 


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to