Button Click Example
Creates an input button and assigns a click event to it.
by Julian
HTML
<h2>Tagged Users</h2>
<table border=\"0\" class=\"table\" id="table_status">
<tbody>
<th>Status</th>
<th>Change Status</th>
</th>
<tr><td id="status_1"></td></tr>
<tr> <td id="status_2"><button type="submit" id="button">button</button></td></tr>
JavaScript
$("#button").click( function()
{
var id = this.id;
alert(id);
}
);