I inject html to div on the page (contains float div)
var text = "some text<div style='float:rigth'><a href='#'>foo</a></div>"
$("#taget").html(text);
After that users of Google Chrome and Safari cannot click at link "foo"
I inject html to div on the page (contains float div)
var text = "some text<div style='float:rigth'><a href='#'>foo</a></div>"
$("#taget").html(text);
After that users of Google Chrome and Safari cannot click at link "foo"
Use either
$("#taget").html(text);
Or use
document.getElementById("taget").innerHTML = text;