For a browser friendly version, read these: http://www.tek-tips.com/viewthread.cfm?qid=1229970&page=1 http://www.quirksmode.org/js/events_access.html
On Sat, Oct 9, 2010 at 8:46 AM, selva kumar <[email protected]> wrote: > function Validate() > { > if(document.getElementById("<%=txtEmailid.ClientID > %>").value=="") > { > alert("EMAIL ID CAN NOT BE BLANK"); > document.getElementById("<%=txtEmailid.ClientID%>").focus(); > if (window.event) window.event.cancelBubble = true; > return false; > } > } > > > On Fri, Oct 8, 2010 at 5:03 PM, uttam24 <[email protected]> wrote: >> >> ImageButton2.Attributes.Add("onclick", "return Validate()");
