arrays - Fetch values from a table using jquery on basis of a checkbox update -


i fetched date using api , displaying in table using this code:

this resulted in 176 values checkbox. want if checkbox state changed should able fetch value , associated td value in array. can me not able think of solution.

here screenshot of output along want achieve:

i'd suggest giving each td element associated value class, can use jquery grab value. suppose gave class name of 'value'. then, try this:

$('checkbox').on('click', getvalue);  function getvalue() {     var value = $(this).closest('tr').find('.value').text(); } 

i hope helps!


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -