Can't type in my form!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
ddumond
Beginner
Beginner
Posts: 2
Joined: Fri Aug 19, 2005 6:28 am

Can't type in my form!

Post by ddumond »

I'm testing out the script and ran into a lil bump in the road!

I set-up a form in the menu like so:
with(milonic=new menuname("Search")){
style=menuStyle;
aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>");
}
And it looks fine, however when I got to put text in it... nothing happens?!

Here's the link: http://www.dumondcreations.com/clients/bms/

Am I doing something wrong?

Thanks!

****FOLLOW UP!****
I'm on the Mac platform (safari/explorer), not sure if it makes a difference! I can get it to type by "right clicking" in the box and can only get it to submit by pressing "enter"... I find this extremely odd because this isn't the case when I use the code outside the menu! Help!!! 8O
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You need a type=form; in there...

Code: Select all

aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>;type=form;");
John
ddumond
Beginner
Beginner
Posts: 2
Joined: Fri Aug 19, 2005 6:28 am

Post by ddumond »

John wrote:You need a type=form; in there...

Code: Select all

aI("text=<form method=post action=http://www.laurentian.ca/cgi-bin/htsearch_e.cgi><input type=text name=words size=15><input type=submit value=go></form>;type=form;");
Nice catch John! You're a genius! ;)

Thank you!
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

OMG... now he's a genius! We'll never hear the end of it! ;)
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

ddumond wrote:Nice catch John! You're a genius! ;)
You're welcome - and thank you!
kevin3442 wrote:OMG... now he's a genius! We'll never hear the end of it! ;)
Working on my reply now. Only have 17 pages so far, but I should be finished by next week... :roll:
John
Post Reply