how to get input value in ajax code example Example: jquery set input value $("button").click(function(){ $("input:text").val("Glenn Quagmire"); })