Click here to Skip to main content
15,921,793 members
Home / Discussions / Web Development
   

Web Development

 
Questionhosting child web sites Pin
smita_roy8-Sep-05 20:12
smita_roy8-Sep-05 20:12 
AnswerRe: hosting child web sites Pin
Alsvha8-Sep-05 23:05
Alsvha8-Sep-05 23:05 
QuestionJavascript & IE Pin
hung_ngole8-Sep-05 17:56
hung_ngole8-Sep-05 17:56 
AnswerRe: Javascript & IE Pin
minhpc_bk8-Sep-05 18:31
minhpc_bk8-Sep-05 18:31 
GeneralRe: Javascript & IE Pin
hung_ngole8-Sep-05 19:37
hung_ngole8-Sep-05 19:37 
GeneralRe: Javascript & IE Pin
minhpc_bk8-Sep-05 19:54
minhpc_bk8-Sep-05 19:54 
GeneralRe: Javascript & IE Pin
hung_ngole8-Sep-05 20:14
hung_ngole8-Sep-05 20:14 
AnswerRe: Javascript & IE Pin
Guffa8-Sep-05 23:37
Guffa8-Sep-05 23:37 
MSDN:
"When a string is assigned to the returnValue property of window.event, a dialog box appears that gives users the option to stay on the current page and retain the string that was assigned to it. The default statement that appears in the dialog box, "Are you sure you want to navigate away from this page? ... Press OK to continue, or Cancel to stay on the current page.", cannot be removed or altered."

Example from MSDN:
<HTML>
<HEAD>
<SCRIPT>
function closeIt()
  {
    event.returnValue = "Any string value here forces a dialog box to \
                        appear before closing the window.";
  }
</SCRIPT>
</HEAD>
<BODY onbeforeunload="closeIt()">
    <a href="http://www.microsoft.com">Click here to navigate to 
        www.microsoft.com</a>
</BODY>
</HTML>


---
b { font-weight: normal; }

GeneralRe: Javascript &amp; IE Pin
Anonymous9-Sep-05 4:53
Anonymous9-Sep-05 4:53 
AnswerRe: Javascript &amp; IE Pin
Shog99-Sep-05 15:14
sitebuilderShog99-Sep-05 15:14 
GeneralRe: Javascript &amp; IE Pin
Anonymous9-Sep-05 18:11
Anonymous9-Sep-05 18:11 
GeneralRe: Javascript & IE Pin
enjoycrack9-Sep-05 18:58
enjoycrack9-Sep-05 18:58 
Questionhtml -&gt;JSTL Pin
ginognaus8-Sep-05 15:14
ginognaus8-Sep-05 15:14 
QuestionFrames etc. Pin
Jeeves1238-Sep-05 14:52
Jeeves1238-Sep-05 14:52 
AnswerRe: Frames etc. Pin
Guffa8-Sep-05 15:11
Guffa8-Sep-05 15:11 
Questionrecordset not displaying Pin
Shrex8-Sep-05 11:37
Shrex8-Sep-05 11:37 
QuestionRegular Expression Problem. Pin
Anonymous8-Sep-05 6:34
Anonymous8-Sep-05 6:34 
AnswerRe: Regular Expression Problem. Pin
Guffa8-Sep-05 12:22
Guffa8-Sep-05 12:22 
Questionjava script Pin
wpcolleen8-Sep-05 4:35
wpcolleen8-Sep-05 4:35 
AnswerRe: java script Pin
Guffa8-Sep-05 11:21
Guffa8-Sep-05 11:21 
QuestionBrowse toolbar Pin
wpcolleen8-Sep-05 1:53
wpcolleen8-Sep-05 1:53 
AnswerRe: Browse toolbar Pin
enjoycrack8-Sep-05 2:14
enjoycrack8-Sep-05 2:14 
GeneralRe: Browse toolbar Pin
wpcolleen8-Sep-05 3:11
wpcolleen8-Sep-05 3:11 
GeneralRe: Browse toolbar Pin
Shog99-Sep-05 15:16
sitebuilderShog99-Sep-05 15:16 
QuestionShow confirm when close a webpage Pin
LongNguyen7-Sep-05 23:25
LongNguyen7-Sep-05 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.