seismicmike
Feb 19th 2009, 8:18 pm
Hi everyone.
I am trying to build a system where a user can click on an item on my page which will pop up a box with a form in it. They fill out the form and hit submit, then it is sent through AJAX to submit and the page is updated without refresh.
I know how to get AJAX submission without page refresh fine, and I know how to get popup boxes. I use fancy box and I can get things to popup fine. The trouble is getting the two to work together
I can't seem to get any of the DOM elements that appear within the popup box to respond to Javascript in any way, so AJAX submission seems impossible
I know this kind of thing is possible - I see it all over the place on Facebook. The question is, "How?"
In case you're curious, I'm using jQuery 1.3.1, and at the moment I'm using the Fancy Box (http://fancy.klade.lv/) plugin , though I've tried several others with the same basic result: I can get a form in a popup box, but can't get the DOM objects to obey my Javascript
Any help would be appreciated.
Thanks!
I am trying to build a system where a user can click on an item on my page which will pop up a box with a form in it. They fill out the form and hit submit, then it is sent through AJAX to submit and the page is updated without refresh.
I know how to get AJAX submission without page refresh fine, and I know how to get popup boxes. I use fancy box and I can get things to popup fine. The trouble is getting the two to work together
I can't seem to get any of the DOM elements that appear within the popup box to respond to Javascript in any way, so AJAX submission seems impossible
I know this kind of thing is possible - I see it all over the place on Facebook. The question is, "How?"
In case you're curious, I'm using jQuery 1.3.1, and at the moment I'm using the Fancy Box (http://fancy.klade.lv/) plugin , though I've tried several others with the same basic result: I can get a form in a popup box, but can't get the DOM objects to obey my Javascript
Any help would be appreciated.
Thanks!