-3

I am working on getting the data from php and populate the check box but i want the jquery so that i can show each selected value when checkbox checked

code

<input type='checkbox' class='messageCheckbox'  name='emergency2[]' value='$rowspecial[category_id]' $checked $disableattr> $rowspecial[category_name]

1 Answers1

-2

add an onClick attribute to the input.

<input type='checkbox' ... onClick="func">
squills
  • 31
  • 1
  • 6