(sorry if you see 2 posts, I was trying to cancel a post, edit, and repost)
Hi! Everyone, Dan is right, after submit button is clicked, the
javascript function below is called. I am trying here is the javascript
function:
> function Ask_Confirm() {
> response = confirm("Are you sure?");
> if(response == true)
> {
> to_url = "./admin.php?to_be_rm=" + document.forms[1].to_be_rm.value;
> // alert(to_url);
> window.location = to_url;
> }
> else
> {
> // Do Nothing.
> }
> }
The alert(to_url) shows the correct/expected url. "to_be_rm" is the id
of a <select> on the second form on the page. Thanks again.
I also have a question about using this newsgroup, why is messages I got
from using Thunderbird not as update as the digest I got via email?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php