In jQuery on page load is made *very* easy! You've got two options
which, to my knowledge, do the same thing. You could either have a
snippet of javascript somewhere on your page with the following:
$(function() {
//on load boxy code here
}
or
$(document).ready(function() {
//on load boxy code here
}
For your third question you don't necessarily need jQuery. You could
simply have the form submit to a page that says thank you etc. And
includes a piece of javascript like:
setTimeout(function() { self.close(); },3000);
Where 3000 is 3 seconds before it closes (might need longer). Note
that this will only work on popups, so javascript would have to launch
a popup with the form etc, only then would self.close(); work. This is
a good article on it:
http://www.javascript-coder.com/window-popup/javascript-window-close.phtml
I'm not sure what question you're asking in 2. You would use post if
you have post data to send to the server, if not just do a normal get
request.
--Sam
> example ishttp://
www.varnagiris.net/2009/04/11/ajax-feedback-form-using-jquery-...