I have a textbox and a button. When I click the button, it sets certain value in the textbox. I want to submit the page whenever the value of the textbox is changed.
Ple
$(document).ready(function () {
$("input").change(function () {
Submitform();//Function for submitting form
});
$("#click").click(function () {
$('.set').val('Why am I not getting the alert saying - Changed! ');
Submitform();//Function for submitting form
});
});
Function for submitting the form
function Submitform(){
$("#YourformId").submit();//Submits your form
}