Click here to Skip to main content
15,914,419 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Confirm box's title Pin
led mike13-Feb-08 13:26
led mike13-Feb-08 13:26 
GeneralRe: Confirm box's title Pin
keyboard warrior14-Feb-08 7:23
keyboard warrior14-Feb-08 7:23 
GeneralRe: Confirm box's title Pin
Johnny ²13-Feb-08 17:21
Johnny ²13-Feb-08 17:21 
GeneralRe: Confirm box's title Pin
Shog914-Feb-08 4:02
sitebuilderShog914-Feb-08 4:02 
QuestionCalling/firing/triggering an event from a button click Pin
Brendan Vogt13-Feb-08 0:46
Brendan Vogt13-Feb-08 0:46 
GeneralRe: Calling/firing/triggering an event from a button click Pin
Paddy Boyd13-Feb-08 5:01
Paddy Boyd13-Feb-08 5:01 
Questiononbeforeunload firing twice Pin
Brendan Vogt12-Feb-08 23:24
Brendan Vogt12-Feb-08 23:24 
GeneralRe: onbeforeunload firing twice Pin
Ioan Anton14-Feb-08 10:33
Ioan Anton14-Feb-08 10:33 
The code below works fine in IE 6.0. Perhaps it can solve your problem.

<head>
<script type="text/javascript">
var isDirty = false;

function checkForChange() {
if (isDirty) {
alert("Changes have been made.");
}
}

function moveToNext() {
if (isDirty) {
if(confirm('Move to next page...')) {
var myLink = document.getElementById('myLink');
myLink.href='Link.htm';
myLink.click();
}
}
}
</script>

</head>

<body>
<input type="text" onchange="isDirty=true;" />
<input type="submit" name="btnCancel" value="Cancel" id="btnCancel" onclick="javascript:checkForChange();"/>

<br /><br /><br /><br />
<a id="myLink" href="javascript:moveToNext();">LinkLinkLinkLinkLinkLinkLinkLink</a>
</body>
QuestionHelp required please: Document Upload and Email Verification Pin
Freeweight12-Feb-08 6:14
Freeweight12-Feb-08 6:14 
GeneralRe: Help required please: Document Upload and Email Verification Pin
Steve Westbrook12-Feb-08 9:53
Steve Westbrook12-Feb-08 9:53 
Generalgenerating reports and exporting to .xls, .pdf and word Pin
livez12-Feb-08 4:24
livez12-Feb-08 4:24 
GeneralRe: generating reports and exporting to .xls, .pdf and word Pin
Paddy Boyd12-Feb-08 4:31
Paddy Boyd12-Feb-08 4:31 
GeneralRe: generating reports and exporting to .xls, .pdf and word Pin
livez12-Feb-08 20:15
livez12-Feb-08 20:15 
GeneralCannot use a leading .. to exit above the top directory. Pin
acodman12-Feb-08 3:29
acodman12-Feb-08 3:29 
GeneralRe: Cannot use a leading .. to exit above the top directory. Pin
andyharman12-Feb-08 7:47
professionalandyharman12-Feb-08 7:47 
GeneralRe: Cannot use a leading .. to exit above the top directory. Pin
Expert Coming13-Feb-08 4:56
Expert Coming13-Feb-08 4:56 
QuestionConfirming When Exiting Without Saving Pin
Brendan Vogt12-Feb-08 0:28
Brendan Vogt12-Feb-08 0:28 
GeneralRe: Confirming When Exiting Without Saving Pin
dfz12-Feb-08 2:03
dfz12-Feb-08 2:03 
QuestionRe: Confirming When Exiting Without Saving Pin
Brendan Vogt12-Feb-08 22:00
Brendan Vogt12-Feb-08 22:00 
GeneralRe: Confirming When Exiting Without Saving Pin
dfz13-Feb-08 2:51
dfz13-Feb-08 2:51 
GeneralWhats the difference javascript Pin
Cape Town Developer11-Feb-08 23:33
Cape Town Developer11-Feb-08 23:33 
GeneralRe: Whats the difference javascript Pin
Christian Graus11-Feb-08 23:42
protectorChristian Graus11-Feb-08 23:42 
GeneralRe: Whats the difference javascript Pin
Cape Town Developer11-Feb-08 23:43
Cape Town Developer11-Feb-08 23:43 
GeneralRe: Whats the difference javascript Pin
Cape Town Developer11-Feb-08 23:43
Cape Town Developer11-Feb-08 23:43 
AnswerRe: Whats the difference javascript Pin
Guffa12-Feb-08 11:52
Guffa12-Feb-08 11:52 

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.