submit() inside clickfunction in MSIE

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Croata
Advanced
Advanced
Posts: 15
Joined: Wed Jun 14, 2006 3:15 pm

submit() inside clickfunction in MSIE

Post by Croata »

Hi!

I've been trying to execute a simple submit() inside a clickfunction property. The strange behavior happens with MSIE 6 (Win 2K & XP), where the submit() method never executes.

An example is more valuable than 10.000 words. Just click both "Submit me!" with MSIE 6. After this, do the same with FF 1.5, or anything you like:

http://www.dinko.cl/~dinko/menu5

It looks like the guys at Redmond are doing well again... :?

--

Thanks & Regards,
Cro
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Is this something in the menu?

Ruth
User avatar
Croata
Advanced
Advanced
Posts: 15
Joined: Wed Jun 14, 2006 3:15 pm

Post by Croata »

I'm guessing there's something in the menu who avoids doing a submit() in MSIE. As you can see in the button in the sample page, it works flawless when performing a submit through JS code...

Anyways, the problem is solved calling another function who does the submit with window.setTimeout()....

--
Regards,
Cro
Post Reply