Show alert when checkbox check : <p>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</p>

<p>code</p>

<pre><code>&lt;input type='checkbox' class='messageCheckbox'  name='emergency2[]' value='$rowspecial[category_id]' $checked $disableattr&gt; $rowspecial[category_name]
</code></pre>
