Click here to Skip to main content
15,921,793 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hai all,

JavaScript
$('#DataList tbody > tr').after("</br></br>");
this code is working on chrome and mozilla but not in ie. any help please.

Thanks,
Sampath
Posted
Comments
Sergey Alexandrovich Kryukov 5-Dec-13 1:38am    
There are too many things not working in IE, especially older version, and, much worse, "working" things which are not supposed to work by the standard. One thing to check up: are you really sure that id="DataList" is unique on the page? Could you simplify it to "tbody > tr"?
—SA
Try with <br> instead of </br>.

$('#DataList tbody > tr').after("<br><br>");

1 solution

Hai all,
using proper tags so that i solve this issue in ie.
JavaScript
$('#DataList tbody > tr').after("<tr><td></br></br></td></tr>");


Thanks
Sampath
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900