Last post Feb 08, 2007 08:04 AM by np2316
Feb 06, 2007 07:13 AM|np2316|LINK
to run it in Firefox.[:)]
Page Language="C#" %>
"-//W3C//DTD XHTML 1.0 Transitional//EN"
LabelError.Text = System.
Feb 06, 2007 09:28 AM|KaziManzurRashid|LINK
protected void Page_Load(object sender, EventArgs e)
Every other will be the same. Mark this as answer if it works.
Feb 06, 2007 12:45 PM|A1ien51|LINK
Feb 06, 2007 02:59 PM|np2316|LINK
Please copy the given code and put into .aspx file. It may give you better idea.
Any help is appreciated.
Feb 07, 2007 10:06 AM|KaziManzurRashid|LINK
Feb 07, 2007 07:50 PM|PLBlum|LINK
I use this function in my products to stop the event and prevent "bubble up" on all types of browsers:
// Prevents event bubble up or any usage after this is called.
// pE - event object
pE = window.event;
if (pE.cancelBubble != null)
pE.cancelBubble = true;
pE.returnValue = false;
if (pE.cancel != null)
pE.cancel = true;
} // StopEvent
Feb 08, 2007 08:04 AM|np2316|LINK
Thank you all
Thanks PLBlum for your code. It worked exactly what I wanted. For the sake of other memers who may face the same problem, I am writing the way of calling above function as -
Again change the "checkForm" function as -
One more solution I got is as under:
And rewrite "checkForm" function as -