I read a large php pack, which has a <div> as

Code:
<div id="second"	onclick="$('#form').submit();">Second</div>
I can't find its JavaScript function.

Please help me to create a simplest JavaScript function (alert is OK) related to code above.

Thanks.


.