|
-
July 1st, 2002, 01:56 PM
#1
I need help submitting a form by clicking on a linked word...
I need some help submitting hidden for fields by clicking on a text link. I have written the javascript to get it to go to the right page and send the correct values, but i can't get it to open in a new window the way i did it.
Here is the code:
<a href="javascript:void(document.myform.submit())">SampleText</a>
what else do i add to have this open in a new window? Thanks in advance for any and all help given!
-
July 1st, 2002, 03:21 PM
#2
you could open a frame window, something like this:
function open_frame()
{
msg=open("sampletext.htm", "frameWindow", "toolbar=yes, resize=1, scrollbars=1, width=600, height=300, directories=no, menubar=yes, status=yes");
msg.focus();
}
fareeda
-
July 2nd, 2002, 07:42 AM
#3
well thanks for the help. i feel kinda stupid. it is as simple as putting target="_blank" in the form tag. i had no idea that could be done.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|