Hi everyone, I have a webform which my users are expecting to act like a Windows program, they only need to check the box and it is automatically written to the database. So I'd like to use a combination of javascript, like this, but it isn't quite elegent enough: - Tick the box. - Javascript opens up a popup window, SQL query is made, popup window closes again Or a second method: - Register an onexit() function, and auto-submit the form. The only problem there is to remember to redirect them to their intended destination, after having submitted the form. (i.e. they pressed back, forward, or entered in another URL). Can anybody point me in the right direction....? Many thanks, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php