DMXzone Lightbox Support Product Page
Answered
One more question about passing form variables...
Asked 19 Jul 2011 00:10:26
1
has this question
19 Jul 2011 00:10:26 Bobby Edgar posted:
I know that Miro answered my previous post and since it's locked and solved, I need to post a new question.The syntax he gave me before to pass a single element is:
onsubmit="openDMXzoneLightbox('signup_1.php?SF_Zipcode='+jQuery('#SF_Zipcode').val()
Now I have a second form Element_ID(user_type) that I want to pass to the same page "signup_1.php" along with the SF_Zipcode Element. Can you tell me the correct syntax for passing both Element Ids?
Thanks SO MUCH for your help. You guys are the best!
-Bobby
Replies
Replied 19 Jul 2011 18:44:35
19 Jul 2011 18:44:35 Bobby Edgar replied:
Once again...Miro helped me quickly.
Here's the syntax to send 2 form variables to the lightbox.
onsubmit="openDMXzoneLightbox('a_page.php?element1='+jQuery('#element1').val() +'&element2='+jQuery('#element2').val()
Here's the syntax to send 2 form variables to the lightbox.
onsubmit="openDMXzoneLightbox('a_page.php?element1='+jQuery('#element1').val() +'&element2='+jQuery('#element2').val()