I’m getting this message in error console:
Error: uncaught exception: [Exception... "Cannot modify properties of a WrappedNative"
nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame ::
chrome://global/content/bindings/autocomplete.xml :: onxblpopuphiding :: line 834" data: no]
I checked everything I’ve possibly can, but I don’t see what’s wrong! I tried clearing cache, 3 times. I tested on a second computer, and it still doesn’t work. Edit: It shows the data for one second or so and then disappears.
The values were disappearing because the submit button is posting the form and therefore refreshing the page. Simply change:
to:
… and the data will not disappear when you click the button.
An
<input type="button">defines a clickable button, that does not automatically submit the form when clicked. In fact this button type is often used to call a JavaScript function through theonClickevent, as you were doing in your web page.As for the uncaught exception, this is probably related to a browser plugin, as Sarfraz Ahmed suggested.