views:

52

answers:

3

I have a link like this

<a href="#thumb" id="ctl00_allContent_btnThumb" onclick="javascript:__doPostBack('ctl00$allContent$btnThumb','')"><img alt="" src="../../images/bullet-thumb.gif"></a>

On Firefox it does what it supposed to. But it won't work on IE or Chrome.

I know there are some questions on the subject here, but they haven't helped me. I'm guessing it's more specific since it envolves ASP.NET postback.

thank you

A: 

Make sure that you don't have client validation controls on the page.

That controls are not working in Firefox, but working in IE and Chrome.

So probably failing of client validation is blocking you from submit the form.

Andrey Tagaew
A: 

Try removing "javascript:" from the event.

mwilcox
A: 

I strongly recommend you to change it to something like this

<asp:LinkButton ID="myLinkButton" runat="server" OnClick="myLinkButton_Click"><img alt="" src="../../images/bullet-thumb.gif" style="border:0"></asp:LinkButton>

Claudio Redi