Re: A problem with passing $_GET in an url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi! Everyone, 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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux