开发者

problem with jquery code

开发者 https://www.devze.com 2023-03-09 21:40 出处:网络
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

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&nbsp;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 ?

0

精彩评论

暂无评论...
验证码 换一张
取 消