Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tester321

  1. tester321

    set focus to element in onchange ?

    Hi is it possible (browser compatible as well) to set focus to a form element in its onchange event? this doesn't work: this.focus() Thanks
  2. tester321

    simple test for numeric input

    thanks u very much, my eyes are still blurry...
  3. tester321

    simple test for numeric input

    Grrr. very late over here, can seem to get these 2 simple things going.... please help, thanks [1] onchange="var nhp=^\d+$; if (!nhp.test(this.value)){alert('.... [2] onchange="this.value=this.value.toUpperCase();var ReExp = /^[A-Z][0-9][A-Z]$/i;if (!ReExp.test(this.value)){alert('The first 3...
  4. tester321

    prevent the post back from instantiating

    Hi how does one intantiate a javascript function to do form field validation without a PostBack? But yet keep the postBack to process the form fields when there are now issues with the JS form field validation. This is what i have/am doing: <<PAGE BEHIND>> protected void Page_Load(object...
  5. tester321

    validate form fields not on post back

    Hi how does one intantiate a javascript function to do form field validation without a PostBack? But yet keep the postBack to process the form fields. This is what i have/am doing: <<PAGE BEHIND>> protected void Page_Load(object sender, EventArgs e) { ...
  6. tester321

    using 2 physical network adaptors

    Hello: We have a server that has Windows Server 2003 installed on it. We are using VMWare 1.03. What we're trying to do is use BOTH physical network adaptors, however, VMWare won't let us choose what physical network adaptors we want to use when setting up the virtual machine. So when our VM...
  7. tester321

    remove all ~ from string

    Hi i was wondering what the easiest way to remove "~" from a string, i have a string that has many of them and i would like to remove them all, but how? Thanks
  8. tester321

    getting page file name from URL

    found an easier way, but would it more resource intensive? string url = System.IO.Path.GetFileName(Request.Path);
  9. tester321

    getting page file name from URL

    Grr.. not working, need help. Many thanks. string url = Request.ServerVariables["URL"]; url = Mid(url, InStrRev(url, "/") + 1); Response.Write("this page is called:"+url);
  10. tester321

    simple, what the default column value for datetime

    oh boy, sometime the simplest things i can't remember... is it date() or now() or.... I need to specify a default value for data type datetime for sql2k Thanks
  11. tester321

    get radio button value without form tags

    <input type="radio" value="0" checked name="R1" /> <input type="radio" value="1" name="R1" /> Hi when R1 group value remains "0", i need to alert("hi") how can i reference this without form tags, thanks!@
  12. tester321

    format as a positive number regardless if pos or neg

    Hi i have a number that sometime might be negative, but that screws up the senerio, so for a plave where there might be a negative number i would like to covert it to a positive, this is what i have which isn't working :( Response.Write( (int)Math(Abs(Convert.ToInt32(listpc[index].val))) )...
  13. tester321

    Collection is read-only ?

    Ok i think i narrowed it down, any thoughts on this.... it seems to be when i call: NewCredentials(pass, question, answer); then: private void NewCredentials(string strPass, string strQuestion, string strAnswer) { using (SqlConnection connection = new...

Part and Inventory Search

Back
Top