Linux -Blue forest free software | Return to home page | Site Map | Search WWW | Contact Us |
Your current position : Homepage > Free Software > Technological exchanges >Application Programming


    

Blue Forest http://www.lslnet.com at 6:28 p.m. on August 22, 2006

How ineffective the location

I made a dynamic website which will have an item to delete records
To remove the outlet in a confirmation dialog box, so that direct links into a script
Function ok (also published)
   {
If (window.confirm ( "You really have to delete the record? ")) (
Location= "del.asp?action=del&base=subcat&id=" +num;
//location= "Http://www.sohu.com";
Alert (location.host);
         }
Why switch is not specified page)

Nor even to Sina
In the framework of which is not used LOCATION

How can not jump? Yes
[html]
"SCRIPT LANGUAGE=" JavaScript ""
Ok (3)
Function ok (also published)
{
If (window.confirm ( "You really have to delete the record? ")) (
//location= "Del.asp?action=del&base=subcat&id=" +num;
Location= "http://www.sohu.com";
}
}
"/SCRIPT>
[/html]

If a separate course, take out my website in the framework of an ineffective use of this code
Do not know how else




 Privacy Policy  Copyright © 1999-2000 LSLNET.COM. All rights reserved. Blue Forest website owners. E-mail : Webmaster@lslnet.com