javascript - EXTJS ajax request -
in extjs, trying make save button following when clicked. people.java controller.
var letssay = function() { ext.ajax.request({ url : 'people.java', method: 'post', params :{'firstname': firstname}, success: function ( result, request ) {
what make function letssay , call under button. doesn't respond correctly. doing wrong here?
buttons: [{ text: 'save', handler: function(){ letssay();
java classes need compiled , served via app server tomcat or jetty.
Comments
Post a Comment