How to color or highlight line when user click the checkbox in jQuery?
Posted
by
Rohit
on Stack Overflow
See other posts from Stack Overflow
or by Rohit
Published on 2013-11-07T15:43:16Z
Indexed on
2013/11/07
15:53 UTC
Read the original article
Hit count: 167
I am implementing the highlight procedure of line . If the user click the checkbox it will highlight whole line by yellow. User can make as this any number of line. So it is possible to highlight the whole line when user click the checkbox?
Please check my picture I select all text when I click the checkbox (because you will understand my problem)
I am trying here in this fiddle
<div>
<button id="next">next
</button>
<button id ="previous">previous
</button>
</div>
Checked rows: <span id="checkedRows"></span>
<div id="content">
<div id="left">
<div class='cb'>
<input type="checkbox" />
</div>
</div>
<div id="realTimeContents" class="left realtimeContend_h"></div>
</div>
© Stack Overflow or respective owner