Adding a link using JQuery html() is not click-able on IE6

Posted by Abs on Stack Overflow See other posts from Stack Overflow or by Abs
Published on 2010-05-27T14:47:23Z Indexed on 2010/05/27 15:21 UTC
Read the original article Hit count: 145

Filed under:
|

Hello all,

I add html to a page using JQuery's html() function. This works great on most browsers except IE6.

I can work round this by adding a click event etc but I want to fix the issue without extra tape!

Any ideas why this doesn't work on IE6?

$('#button_holder').html('<a href="#" onclick="run_activity_upload(); return false;" id="save_button">Upload</a>');

Thanks, Abs

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery