|
When you say popup a form, do you mean a
new window? <script> //open a new window Function openWin(windowURL, windowName,
windowFeatures){ Return window.open(windowURL,
windowName, windowFeatures); } </script> To call function… <button
newWindow = openWin(‘http://somepageurl.com’,’Name’,’width=420,height=650,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizeable=1’);
newWindow.focus();”>open window</button> The above button will open a new browser
window and turn off toolbar, location, directories, status, and menubar. Kinda
like a modal window. Provide the URL to your form for the user to enter data. Then to get the value in an alert do
something like this: <script> Function funGetValue(what){ alert(what); } </script> <form> <input type=”textbox”
name=”formElement” funGetValue(this.value);”> </form> This should work, but may need some
tweaking. At any rate, it’s something to go on. Thanks Tom Schreck 972-361-9943 From: Ron Mast
[mailto:[EMAIL PROTECTED] Hi All, Can someone provide me with the _javascript_ code that does
the following; I want to pop up a form to enter a value and output it using
alert();. Any help is appreciated. Thanks! Webmaster Truth Hardware Ph: 507-444-4748 Fx: 507-444-5361 |
- for javascript gurus Ron Mast
- RE: for javascript gurus Schreck, Tom
- RE: for javascript gurus Ron Mast
