Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:47

submit() inside clickfunction in MSIE


Poster: Croata
Dated: Tuesday November 28 2006 - 15:26:43 GMT

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


Poster: Ruth
Dated: Tuesday November 28 2006 - 19:12:12 GMT

Hi,

Is this something in the menu?

Ruth


Poster: Croata
Dated: Tuesday November 28 2006 - 20:45:29 GMT

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