I am working on a project that requires me to be able to grab html from a page and paste it into the main web page. It fully works in Chrome and Firefox, but it does not work in IE 9. Here is a cutout from the code that I use.
if (!element.data('cache')) {
$('#contentHolder').html('<img src="ajax_preloader.gif" width="64" height="64" class="preloader" />');
$.get(element.data('page'), function (msg) {
$('#contentHolder').html(msg);
element.data('cache', msg);
setTimeout("checkonbox()", 100);
});
}
else {
$('#contentHolder').html(element.data('cache'));
setTimeout("checkonbox()", 100);
}
HTML entered
<table style="width:400px; height: 388px; text-align: left;" align="left">
<tr>
<td><input id="Checkbox0" type="checkbox" onclick="changebuttons();" checked="true">
Exclusive.</input></td>
</tr>
</table>
Plus a few extra buttons.
Everything looks great, but I can’t click on the checkbox or option buttons.
source
share