The first parameter taken by the ajax.send method is ether POST or GET depending on the intention of the form to handle data.
In this example the next two variables are passed as an array to the function send. The first being a value taken from the input ‘name’. This is done by including the ‘#’ symbol, which tells the script to get the value from the element with the id ‘name’, where as in the case of ‘foo’ no hash has been specified which tells the script that the variable is just ‘bar’ and no elements are involved.
Finally the last parameter is the AJAX sync parameter which can be true or false depending on if you intend to use asynchronous methods.