javascript - Hyperlink not properly showing in a td element -


After

After

Why are you trying to create a hyperlink? Sorry but it does not matter too much, if you want to attach some functions to those TD elements, which triggers on clicks, then you should only receive those TD elements the listener. Since you are already using jQuery, try something like this:

  $ ("# s_1_l td: nth-child (3)"). Click (function () {// what should be done when the user clicks}}; // make the cursor an indicator. $ ("# S_1_l td: nth-child (3)"). CSS ( "Cursor", "indicator");  

It is light in processing and adds a href to each end of looping in each set.

See and example: < / P>


Comments