469,356 Members | 2,681 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,356 developers. It's quick & easy.

submit after value returned from popup window

I have a form formABC that has a textbox plus a button. On clicking the
button, window.open() a popup window for user to select a value. The
value will then be passed back to formABC's textbox.

Now I want formABC to submit itself *AFTER* the textbox got a value. How
could I do it?

--
iTech Consulting Services Limited
Expert of ePOS solutions
Website: http://www.itech.com.hk (IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288
Apr 26 '07 #1
2 1556
On Apr 26, 8:14 am, Man-wai Chang <toylet.toy...@gmail.comwrote:
I have a form formABC that has a textbox plus a button. On clicking the
button, window.open() a popup window for user to select a value. The
value will then be passed back to formABC's textbox.

Now I want formABC to submit itself *AFTER* the textbox got a value. How
could I do it?

--
iTech Consulting Services Limited
Expert of ePOS solutions
Website:http://www.itech.com.hk(IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288
pass the value back to a handler, which submits?

Apr 26 '07 #2
On Apr 26, 3:14 am, Man-wai Chang <toylet.toy...@gmail.comwrote:
I have a form formABC that has a textbox plus a button. On clicking the
button, window.open() a popup window for user to select a value. The
value will then be passed back to formABC's textbox.

Now I want formABC to submit itself *AFTER* the textbox got a value. How
could I do it?

--
iTech Consulting Services Limited
Expert of ePOS solutions
Website:http://www.itech.com.hk(IE only)
Tel: (852)2325 3883 Fax: (852)2325 8288
In your function that populates the feld data, add the following:
document.formABC.submit(); or
document.forms['formABC'].submit();

Apr 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Terence Parker | last post: by
1 post views Thread by Marshall Dudley | last post: by
1 post views Thread by Piotr | last post: by
4 posts views Thread by Gabriella | last post: by
11 posts views Thread by V S Rawat | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.