How do I pass this to jQuery
id="btn_submit" onclick="javascript:document.getElementById('btn_submit').style.visibility = 'hidden';
Is to temporarily hide or block a button to avoid double submission of a form, is there any other way to avoid it?