i do have a litte problem with my actual project.
My .HTML document gives via post some data to a php document wich is only echoing some numbers and letters but no spaces. So now id like to load that respond directly into a textbox, without showing the “ugly” respond php doc or reloading the site.
thanks for help
You can accomplish this with jquery.
You will need to capture your response and set the textfield
valueattribute.If you are getting data perhaps you should use GET method instead of post.
Or even better encode your data in JSON instead of passing plain text.
$.getJSONand set your textbox to the json responseyou can use submit to attach a submit handler to your form. Make sure to return false so the form doesn’t go to the action page.