Re: execute webdna search in an iframe via javascript
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 50919
interpreted = N
texte = Your all your information can still be contained on the form in the parentwindow. When you click the submit form button, it calls your javascriptfunction which does its thing with the data. once its happy that its got allthe data it needs / validated it can post your form. form.submit(); orwhatever it is.your form still contains the instruction to post at the iframe.target=iframename etc.... then the html that the iframe loads can containyour webdna that sets the value of the inputs.but.... if you don't want to re-load anything then you can use javascript todo the whole thing.in your parent page you can use javascript to set the values of the controlsin the iframe just referencing the control names through the heirachi.iframename.document.formname.inputcontrolname.value = javascript validatevalue from function in parent window;again - no idea what i'm talking about, but makes sense... in a round aboutway :-)----- Original Message -----From: Alisha Outridge
To: WebDNA Talk Sent: Thursday, June 05, 2003 2:01 AMSubject: execute webdna search in an iframe via javascript> Heck, I may be able to use a form to send data to the iframe and work> it that way but I may just want to send data via javascript since I am> dealing with a lot of data and it may be faster for the server. So...> revised question:>> I would like to make my javascript show its results in a iframe so I> can then execute a webDNA search based on the data sent. Is this> possible?>> Ex. The javascript automatically checks 2 checkboxes (ship01+ship02) if> the checkboxes bill01+bill02 are checked. What I want to do is make> this function do this from parent to iframe so the iframe has the> checkboxes ship01+ship02 automatically checked rather than in the same> main frame.>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Your all your information can still be contained on the form in the parentwindow. When you click the submit form button, it calls your javascriptfunction which does its thing with the data. once its happy that its got allthe data it needs / validated it can post your form. form.submit(); orwhatever it is.your form still contains the instruction to post at the iframe.target=iframename etc.... then the html that the iframe loads can containyour webdna that sets the value of the inputs.but.... if you don't want to re-load anything then you can use javascript todo the whole thing.in your parent page you can use javascript to set the values of the controlsin the iframe just referencing the control names through the heirachi.iframename.document.formname.inputcontrolname.value = javascript validatevalue from function in parent window;again - no idea what i'm talking about, but makes sense... in a round aboutway :-)----- Original Message -----From: Alisha Outridge To: WebDNA Talk Sent: Thursday, June 05, 2003 2:01 AMSubject: execute webdna search in an iframe via javascript> Heck, I may be able to use a form to send data to the iframe and work> it that way but I may just want to send data via javascript since I am> dealing with a lot of data and it may be faster for the server. So...> revised question:>> I would like to make my javascript show its results in a iframe so I> can then execute a webDNA search based on the data sent. Is this> possible?>> Ex. The javascript automatically checks 2 checkboxes (ship01+ship02) if> the checkboxes bill01+bill02 are checked. What I want to do is make> this function do this from parent to iframe so the iframe has the> checkboxes ship01+ship02 automatically checked rather than in the same> main frame.>>> -------------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to> Web Archive of this list is at: http://webdna.smithmicro.com/>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Andrew Simpson
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
PSC recommends what date format yr 2000??? (1997)
File type (2000)
[WebDNA] TCPconnect and Bitcoin rate (2017)
MATH PROBLEM (1997)
[createfolder] & [deletefolder] (1997)
[countwords] (2002)
quit sending me mail!!!!! (1999)
synching databases on multiple servers (1997)
Major bug report on rootbeer (1997)
emailer (1997)
Some Advise needed (1997)
Using Plug-In while running 1.6.1 (1997)
FTP upload TCP Connect (2003)
URL for Discussion Archive (1997)
Reversed words (1997)
[WebDNA] Secure Cookies (2009)
[Solved - with code] catching WebDNA error messages (2003)
Running 2 two WebCatalog.acgi's (1996)
[WebDNA] Feature request: deletefield (2017)
Trapping Emailer Errors (2002)