Faltu Funda| 30 Mar 2008 | |||||
|---|---|---|---|---|---|
|
practice interviews and prepare for interviews in todays changing world every one want to increase there salaries very quickly. Changes your employer is an very efficient solution for this. But changing employer and company is not so easy. cont.. |
||||
| 22 Apr 2008 | |||||||
|---|---|---|---|---|---|---|---|
|
onbeforeunload perform some task before unloading page by javascript If you want to perform some some task, before user leaves page, then it can be done by using javascript function "onbeforeunload" some page ending tasks can be performed by using this function. Ajax can be used if server side interaction is required. usage: document.onbeforeunload = function(){ // code to run before leaving page return 'message to be displayed for confirmation'; } if message is left blank then, a default message will be prompted with "OK" and "cancel" buttons. OK will move to leave page and CANCEL will cancel the event. |
||||||
|
|||||||||
1