Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: open
I have a block of HTML that i clone in order to add users to a list. This block of HTML has a form in it and also a button - both of which has functionality that is defined using JQuery (for the submit and click). Problem is that as the HTML is cloned, and even though i have defined stuff after the clone the functionality is not picked up. Very strange.
This is IE specific - my code works fine in FF.
What i am thinking is that IE renders the code at a different time? i dont know. here is a snippet of the code in question.
//set up a load of stuff here then get to the section where a user is cloned and prepended to the list
var userClone = $("#new_user_html").clone();
businessUserSubmit( $(this) );
$("#users_total").prepend( $(userClone).html() );
Any help appreciated.