changeing class
changeing class
hello, i have a lot of same tables:
<table>
<tr class="class">
<td>some text</td>
<td><a href="#" OnClick="$('.class').click(function() { $(.'class').removeClass('class'); });">click here</a></td>
<td>some other text</td>
..., some other links...
</tr>
</table>
<table>
<tr class="class">
<td>some text</td>
<td><a href="#" OnClick="$('.class').click(function() { $(.'class').removeClass('class'); });">click here</a></td>
<td>some other text</td>
..., some other links...
</tr>
</table>
etc...
when i clicked to link, i need chance class name just for that <td> where i clicked. how can i do that? or there is another way how to do it effectively? thank you :-)
Topic Participants
petersmatana
kbwood.au