Search

You searched for the word(s): userid:766535

Matching Posts

  • Re: javascript check for empty string

    Try this script., there no need to use objects in javascript. function emptySearch() { var strSearch; strSearch = document.getElementById("txtSearch").value.replace(/^\s+|\s+$/g,""); document.getElementById("txtSearch").value = strSearch; if (strSearch == "") { alert("Please enter your query."); return false; } }
    Posted to Client Side Web Development (Forum) by pradeep7n on 5/5/2009
  • Re: javascript check for empty string

    Hi, Try adding return before the script function while calling. <asp:ImageButton ID="btnSearch" OnClientClick="return emptySearch();" runat="server" />
    Posted to Client Side Web Development (Forum) by pradeep7n on 5/5/2009
  • Is VS2005 compatible with VISTA as in XP pro?

    Hi, Please let me know whether VS2005 and SQLServer2005 are compatible with VISTA as in XP pro? If compatible, provide the version of vista (all compatible versions). Thanks in advance
    Posted to Visual Studio 2005 (Forum) by pradeep7n on 8/29/2008
  • Re: regular expression, only alphabets?

    Remove the Comma ( , ) between A-Z and a-z.. Expression should be lole this [A-Za-z] Oops Sorry.. Posted unknowingly
    Posted to Web Forms (Forum) by pradeep7n on 8/27/2008
  • Re: Time in Text Box

    This will work for you... function ValDate(Ctrl) { var sDate = document.getElementById(Ctrl).value; var sRegEx = new RegExp("^([0][0-9]|[1][0-2])(\:[0-5][0-9]\\s(AM|PM))$"); if(!sDate.match(sRegEx)) { alert('invalid Format. Enter in HH:MM AM/PM'); document.getElementById(Ctrl).value =''; document.getElementById(Ctrl).focus(); return false; } else return true; }
    Posted to Web Forms (Forum) by pradeep7n on 7/30/2008
  • Re: Select one row in gridview

    Hope I under stood your requirment.. Try this. e.Row.Attributes.Add("onclick", "TwofnCall()"); <script type="javascript"> function TwofnCall() { YourFunction1(); YourFunction2(); } </script>
    Posted to Client Side Web Development (Forum) by pradeep7n on 7/29/2008
  • Re: Time in Text Box

    Please mark the post(s) "Mark as Answer", which have helped you.
    Posted to Web Forms (Forum) by pradeep7n on 7/23/2008
  • Re: Time in Text Box

    Try This < script type = "text/javascript" language = "javascript" > function ValDate(Ctrl) { var sDate = document.getElementById(Ctrl).value; var sRegEx = new RegExp("^([0][0-9]|[1][1-2])(\:[0-5][0-9]\\s(AM|PM))$"); if(!sDate.match(sRegEx)) { alert('invalid Format. Enter in HH:MM AM/PM'); document.getElementById(Ctrl).value =''; document.getElementById(Ctrl).focus(); return false; } else return true; } </ script > < input id= "Text1"
    Posted to Web Forms (Forum) by pradeep7n on 7/23/2008
  • Re: Time in Text Box

    < script type = "text/javascript" language = "javascript" > function ValDate(Ctrl) { var sDate = document.getElementById(Ctrl).value; var sRegEx = new RegExp("^([0][0-9]|[1][1-2])(\:[0-5][0-9]\\s(AM|PM))$"); if(!sDate.match(sRegEx)) { alert('invalid Format. Enter in HH:MM AM/PM') return false; } else return true; } </ script > < input id= "Text1" type= "text" onblur= "javascript:return ValDate(this.id);" />
    Posted to Web Forms (Forum) by pradeep7n on 7/22/2008
  • Re: Time in Text Box

    < script type = "text/javascript" language = "javascript" > function ValDate(Ctrl) { var sDate = document.getElementById(Ctrl).value; var sRegEx = new RegExp("^([0][0-9]|[1][1-2])(\:[0-5][0-9]\\s(AM|PM))$"); if(!sDate.match(sRegEx)) { alert('invalid Format. Enter in HH:MM AM/PM') return false; } else return true; } </ script > < input id= "Text2" type= "text" onblur= "javascript:return ValDate(this.id);" />
    Posted to Web Forms (Forum) by pradeep7n on 7/22/2008
Page 1 of 22 (212 items) 1 2 3 4 5 Next > ... Last »