I am trying to fill a div on my page with some html elements using jquery
below is my code:
$(this).find('div').html('<table><tr><td class=td colspan=2><p class=hilightedtext>Please enter email and password form which you want to import contacts.</p></td></tr><tr><td align=right class=td ><label>Email :</label></td><td>开发者_如何学JAVA;<input type=text name=email_box size=35></td></tr><tr><td align=right class=td><label>Password :</label></td><td><input type=password name=password_box size=35></td></tr><tr class=thTableImportantRow><td colspan=2 align=center valign=bottom><input class=register_now type=submit name=import value=Import Contacts></tr></table>');
Problem here is elements are comming properly in div but I can't perform any action on these elements like I can't type anything in text boxes and click on button is also not working.
Please check and help me where is problem ?
精彩评论