Click here to Skip to main content
15,896,278 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: Drag & Drop jQuery to table rows and update database? Pin
Dennis E White1-Dec-11 7:14
professionalDennis E White1-Dec-11 7:14 
QuestionJavascript / JQuery pop-up message question Pin
AeonBlue30-Nov-11 4:59
AeonBlue30-Nov-11 4:59 
AnswerRe: Javascript / JQuery pop-up message question Pin
Not Active30-Nov-11 6:05
mentorNot Active30-Nov-11 6:05 
AnswerRe: Javascript / JQuery pop-up message question Pin
Dennis E White30-Nov-11 7:29
professionalDennis E White30-Nov-11 7:29 
GeneralRe: Javascript / JQuery pop-up message question Pin
AeonBlue30-Nov-11 8:52
AeonBlue30-Nov-11 8:52 
GeneralRe: Javascript / JQuery pop-up message question Pin
Dennis E White30-Nov-11 11:13
professionalDennis E White30-Nov-11 11:13 
QuestionConfirm dialog with OK ,CANCEL buttons on window close Pin
siva45524-Nov-11 20:20
siva45524-Nov-11 20:20 
AnswerRe: Confirm dialog with OK ,CANCEL buttons on window close Pin
phome25-Nov-11 23:08
phome25-Nov-11 23:08 
I wish the following may solve u issue.

<script language="javascript">
function close() {
	
	var flgDataUnsaved = false;
	// do your unsave data check here
	
	
	// if there are unsaved data set flgDataUnsaved = true;
	if ( flgDataUnsaved ){
		event.returnValue = "Do you really want to close this window";
	}else{
		event.returnValue = true;
	}
}
window.onbeforeunload = close;
</script>


and u can put a "save" button on your popup page. The user can save the data themselves.
Good day,Good job,Good life

GeneralRe: Confirm dialog with OK ,CANCEL buttons on window close Pin
Shameel26-Dec-11 4:02
professionalShameel26-Dec-11 4:02 
Questionenable check box not working Pin
byka22-Nov-11 9:20
byka22-Nov-11 9:20 
AnswerRe: enable check box not working Pin
Richard MacCutchan22-Nov-11 9:30
mveRichard MacCutchan22-Nov-11 9:30 
GeneralRe: enable check box not working Pin
byka22-Nov-11 9:35
byka22-Nov-11 9:35 
GeneralRe: enable check box not working Pin
Richard MacCutchan22-Nov-11 9:54
mveRichard MacCutchan22-Nov-11 9:54 
QuestionRe: enable check box not working Pin
DaveAuld22-Nov-11 9:46
professionalDaveAuld22-Nov-11 9:46 
AnswerRe: enable check box not working Pin
byka22-Nov-11 9:49
byka22-Nov-11 9:49 
AnswerRe: enable check box not working Pin
Satheesh154622-Nov-11 16:47
Satheesh154622-Nov-11 16:47 
GeneralRe: enable check box not working Pin
byka23-Nov-11 2:15
byka23-Nov-11 2:15 
AnswerRe: enable check box not working Pin
phome26-Nov-11 14:04
phome26-Nov-11 14:04 
QuestionHelp with Javascript Code Pin
ThianBrodie12-Nov-11 19:05
ThianBrodie12-Nov-11 19:05 
AnswerRe: Help with Javascript Code Pin
Not Active13-Nov-11 3:21
mentorNot Active13-Nov-11 3:21 
GeneralRe: Help with Javascript Code Pin
ThianBrodie13-Nov-11 4:10
ThianBrodie13-Nov-11 4:10 
GeneralRe: Help with Javascript Code Pin
Not Active13-Nov-11 4:18
mentorNot Active13-Nov-11 4:18 
GeneralRe: Help with Javascript Code Pin
ThianBrodie13-Nov-11 4:32
ThianBrodie13-Nov-11 4:32 
GeneralRe: Help with Javascript Code Pin
Not Active13-Nov-11 5:28
mentorNot Active13-Nov-11 5:28 
GeneralRe: Help with Javascript Code Pin
Not Active13-Nov-11 6:56
mentorNot Active13-Nov-11 6:56 

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.