Re: A problem with passing $_GET in an url
| From: | Davis Chan | Date: | Fri, 04 May 2007 01:15:45 +0000 |
| Subject: | Re: A problem with passing $_GET in an url | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-254383@lists.php.net to get a copy of this message | ||
(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) {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?to_url = "./admin.php?to_be_rm=" + document.forms[1].to_be_rm.value; // alert(to_url); window.location = to_url;} else {// Do Nothing.} }