I have got the following code in html
<div class="functionitem" id="viewresult"><span class="button"><span>
<input type="button" class="form_button" value=" View"></span></span>
</div>
So I try to using the following jquery click function to invoke a method when the button get clicked, this is what I have done
$("#viewresult:button").click(function () {
//methods
});
But it's not working, what did I do wrong, please help, thanks
#viewresult input[type=button]$('#viewresult input').click(funtion());