Without seeing the page, it's a little hard to guess, but is it possible that you have more than one element with either an id or a name of "btnAddSession"?

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Feb 23, 2009, at 12:56 PM, bittermonkey wrote:


hi,

I have this snippet which works fine in Firefox but not in IE6/7.
Somehow in IE instead of opening the modal dialog box, it gets posted
to the submit page when the button with "btnAddSession" Id gets
clicked.

$("#btnAddSession").click(function(){
$("#addproductsForm").dialog("open");
return false;
});

FYI: I also tried converting from button to link.  It works in IE but
it throws a javascript error on click.  Thanks in advance.

Reply via email to