| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
<japhy> oh that makes things SO much easier. <japhy> thank, fatalis. <BarnacleBob> Guest573259, its window.opener <Guest573259> BarnacleBob: thats another question, the submit() method shows this error on mozzila <BarnacleBob> Guest573259, to submit a form to a new window do <form action="myhandler.php" method="post" target="_new" <Guest573259> uh <Guest573259> cool <Guest573259> thanks <BarnacleBob> wait _blank not _new <Guest573259> ok ;) <Guest573259> **** <Guest573259> BarnacleBob, im using document.opener.submit(); to submit a form named opener, but the browser shows thus error: document.opener has no properties <Guest573259> BarnacleBob, do you know how fix this? <BarnacleBob> do you need to use that or will target="_blank" fix it? <Guest573259> target="_blank" <BarnacleBob> its document.opener.<nameofmyform>.submit <BarnacleBob> but that still wont submit the results to the new window <Guest573259> hum <Guest573259> how the full sintaxe of submit(); ? <kojiro> xfchf, onsubmit? <kojiro> oh, n/m <BarnacleBob> the best way is var frm=document.getElementById('IdOfMyForm'); frm.submit(); <albino> Is there a way for JS to click OK on a security dialog box? <albino> In firefox for example? <BarnacleBob> no <BarnacleBob> trying to haxxor some people? <albino> Its protected, right? <BarnacleBob> yes <albino> BarnacleBob: No, but I wish <xfchf> kojiro: no, form.submit <albino> BarnacleBob: I'm trying to automate some web stuff and having to lock ok on the security dialog means a users has to be at the computer, we want to leave this automation running over night <albino> s/lock/click <BarnacleBob> albino, add that website to the trusted zone on the computer <drphobeus> albino, you can just turn the message off <BarnacleBob> it shouldn't ask warnings any more <BarnacleBob> or grant it all the time for that site (i belive there is a checkbox for that on the dialog box) <albino> BarnacleBob: Right, but our autmoation depends on contact
Return to javascript or Go to some related
logs:
java xorg-6.9 PKGBUILD
|
|