So here is the jQuery snippet I am using to create a div that I want to click on
$("#someID").after('<div style="cursor:pointer; text-decoration:underline; display:inline;" onClick="alert(\'It Worked\');">Details</div>');
This Works in FireFox without any problems its just IE that doesn't fire the event. The div is added right after #someID but the onclick doesn't work.