How can l return ajax reponse into a textbox

Topics: Developer Forum, Project Management Forum, User Forum
Oct 4 at 2:02 AM
please
Am new in activevfp, but how can i display ajax response into a input textbox.
what do i have to do at the server side
Oct 4 at 10:41 AM
You need to use jQuery to do this..
Try this code:
$.ajax({
  url: 'your-page.php',
  success: function(data) {
    $('#your-input-textbox').val(data);
  }
});