Can I Test XMLHttpRequest() In SDK With Localhost?
The following code does not seem to work because when I try to get the 'chooser' in Google App Engine (Python) it is undefined: chooser = self.request.get('chooser') self.response
Solution 1:
Actually you're submitting the form twice. Once in writeToStorage via AJAX and also with the normal way with the the form. You will have to change two things.
writeToStoragehas to returnfalseas the last action- Change your
onsubmittoonsubmit="return writeToStorage()"
This way you will prevent the default submission of your form, as it will be done via AJAX in writeToStorage
Post a Comment for "Can I Test XMLHttpRequest() In SDK With Localhost?"