I'm trying to set value of texbox with name "Pay" to 0.
But it doesn't work. What is wrong?
$(document).ready(function(){
$("button").click(function () {
$("input:text[name=Pay]").val(0);
});