Post your trick

TD border for empty cell in IE

IE does not allow to create a border around an empty cell hence a wise trick to apply here is in the script part write the following code .

$(document).ready(function(){

$(”td:empty”).html(”  “);
}

The code replaces all empty cell data with blank spaces(  ) and creating a border around empty data


Post A Trick !

How does "Kodetricks" work?

We at kodeplay like to share knowledge. With Kodetricks, even you can join us. All you need to do is post a programming related trick if you have one or rate a trick if you like someone else's.



Technology

Contact Us