How to color or highlight line when user click the checkbox in jQuery?
- by Rohit
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>