I have a static HTML web page and I want to set its status code to 404 \"Not found\".
404
But, I want to do this using javascript or jQuery, not any server
It is impossible to set the HTTP Response code using client side programming.