A problem with passing $_GET in an url (problem solved)

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

 



Thank you for everyone's help, both public post and private email. I solved the problem, part of it is javascript and part of it is the php generated form (actually a html problem)

Now my function is:
function Ask_Confirm() {
response = confirm("Are you sure?");
if(response == true)
{
	document.forms[1].submit();
}
if(response == false)
{
	// Do nothing
}
}

and also I had type="submit" instead of type="button" for the submit button. Fixing both solved the problem. 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