Results 1 to 3 of 3
Aug 8, 2002, 14:43 #1
changing action on a form not working
I did this code:
<input type="submit" value="Another page" onclick="document.formname.action='newpage.php'">
On a few pages, but it refuses to work on my latest one, I have no idea why.
I even created a special changeaction function, but I still get that object does not support this property or method...
See the page here:
Click the Preview button... any ideas?
And I was inspired from the edit signature on SitePoint forums
Last edited by moshe_be; Aug 8, 2002 at 15:14.
Aug 8, 2002, 23:30 #2
- Join Date
- Jul 2002
- Dallas, TX
- 0 Post(s)
- 0 Thread(s)
However, you may want to try referencing it this way:
Aug 9, 2002, 03:03 #3
Ah, I can't believe it, found hidden field called action too
Well, now it works. Thanks.