Skip to main content

Posts

Showing posts with the label server

HTTP Status Code 501 - Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfill the request. Why it occurs The error occurs when the Web server does not understand or support the HTTP method found in the HTTP data stream sent by the client. The method should be one of GET, OPTIONS, HEAD, POST, PUT, DELETE, TRACE, or CONNECT as defined by the HTTP protocol. If the method is valid but not supported by the Web server, upgrading the server might resolve the issue. Fixing the 501 error code Clients should specify a valid request type. If the Web server continues to respond incorrectly, consider upgrading the server. If you're registered with 100pulse, you'll receive alerts via email or SMS when a 501 status code error occurs.

Passing User Input to the Server with jQuery AJAX

Passing User Input to the Server with jQuery AJAX Many times, you collect input from the user and pass that input to the server for further processing. jQuery AJAX makes it easy to pass collected data to the server using the data parameter of any available Ajax method. Example This example demonstrates how to pass user input to a web server script, which sends the same result back, and we print it: <html> <head> <title>AJAX Input Example</title> <script type="text/javascript" src="/jquery/jquery-1.3.2.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#driver").click(function(event){ var name = $("#name").val(); $("#stage").load(