Skip to content Skip to sidebar Skip to footer

NS_Error_Failure On Javascript POST

I am having trouble with some javascript. The code snippet below creates a simple post request however it always throws an NS_Error_failure exception (details at the bottom of the

Solution 1:

I found the same problem and when I was sending all to an iframe, the problem solved when I add the "name" to the tag, maybe the target is not accesible by your script

<iframe id="iframe_execute" name="iframe_execute" frameborder="1" height="400" width="400"></iframe>

Solution 2:

This error can be seen if there are,

  1. URL not found
  2. There is error in your server code or called URL.

There is not any visible problem in code you shared. Please refer this link


Post a Comment for "NS_Error_Failure On Javascript POST"