'post' form in menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
edweill
Beginner
Beginner
Posts: 9
Joined: Wed May 26, 2004 4:42 pm

'post' form in menu

Post by edweill »

I have a menu with a form in it which is operating correctly using

Code: Select all

  aI("text=<form name='login' action='#' method='get'><table border='0' width=100 class='login'><tr><td><input type='hidden' value='login' name='formuse'><br><br><br>username:<br><input name='username' type='text' size='12' maxlength='32'></td></tr><tr><td>password:<br><input name='password' type='password' size='8' maxlength='8'> <input type='image' src='/i/go-login.gif' value='submit' ></td></tr><tr><td><a href='javascript:trak(\"/login.shtml\")' class='login'>Forgot Password?</a></td></tr><tr><td><br><a href='javascript:trak(\"/register.shtml\")' class='login'>New Brokers,<br>register here</a></td></tr></table></form>;type=form;"); 
As you can see it is using the form in GET mode, which shows the username and password on the address bar of the resulting page. When I change the mode to POST the menu shows up all right but when I try to use it I get an error message which says

Code: Select all

Error 501/505 - Not implemented or not supported 
Internet Explorer 
Is there a way to get a post methd form in my menu? Do I need a different type?
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Have you tried escaping \'

although I found it best to not use ' at all, if you have to try \'

I'm using post without a problem.

maz
Post Reply