Results for the onbeforeunloadOnBeforeUnload event -When I am trying to unload the page, the pop window should appear as a reminder to remind to save the changes. After that, clicking ok, its unloading the page to other link where I clicked rather. Actually, we need to come to the same page where we want to save. How to do that. JS: Close event - I have this script that suppose to be the alert pop up when you close the page but when I refresh the page 'F5' the alert pop up. What's wrong w/ this? Is there another way to do this? Just pop up an alert when you try to close the page? Code: <html> <head> <titl Trapping Browser close - I have a form that locks some parts of my database when a user is in the form, and I want to make sure when they leave I release those resources. The problem is of course that if they hit the X button to close the form I can't catch it. What I've tried to do to fix it is add an event t Navigate away message appears twice - I want to warn users if they try to leave a page without saving changes. So, I have this on the page: <script for="window" event="onbeforeunload" type="text/javascript"> if (PageEdited) { event.returnValue="You have altered some Controlling the Window Object with vbScript - I am using the following code snippet to confirm the user wants to close the browser window: <HEAD><TITLE>A Simple Document></TITLE> <SCRIPT LANGUAGE="vbScript"> Sub unload() window.event.returnValue = "Do you really want to quit?" need to convert this code - hi everybody ! i need to convert this javascript code to visual basic code for VB6 Code: //======================================= //UniVoice Functions //======================================= function KeyDown() { if (event.keyCode==17) NetPhone.ocxCtrlButton(true); } Great HTML Editor Javascript Code - Just place this into a form and voila!!!! Code: <html> <head> <title>HTML Editor</title> <script language="JavaScript"> function Init() { iView.document.designMode = 'On'; setTimeout("populate()",500) } Search String @ vb.net - hello i would like to ask some help in searching and getting string at vb.net.. can you show me an example? example: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en-US" |