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!

Search results for query: *

  • Users: tester321
  • Content: Threads
  • Order by date
  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

    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...
  3. 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...
  4. 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) { ...
  5. 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...
  6. 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
  7. 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);
  8. 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
  9. 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!@
  10. 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))) )...
  11. tester321

    Collection is read-only ?

    Hi i'm getting the following error below and my dumb question is, how do i know what line caused the error? Collection is read-only. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the...
  12. tester321

    only the decimals are important

    Hello, lets say i have a number like 5.12345536 i'm only interested in the .12 (hundreth placing) how would one get that placing??? (rounded or not, me not care) Thanks
  13. tester321

    setting sessions dynamically

    Hi i'm in a situation where i need to set the session based off what i'm pulling out of an array. The session value needs to always be "a", its the session key name that i need to set dynamically, is this possible? For example something like (ignore my synatax): foreach item in...
  14. tester321

    these: &quot;(&quot; or &quot;[&quot;

    Hi i've been playing with syntax of sessions and am finding that round brackets and square brackets have their places, what is the reasoning behind the two? Thanks
  15. tester321

    Request.ServerVariables with cmd.Parameters.Add

    Hello, the following is ill, it tells me: 'System.Web.HttpRequest.ServerVariables' is a 'property' but is used like a 'method' cmd.Parameters.Add("@ip", SqlDbType.NVarChar).Value = Request.ServerVariables("http_user_agent"); Any thoughts on how to do this?
  16. tester321

    Session.Contents.Remove[&quot;xx&quot;]

    I'm not sure i getting error for: Session.Contents.Remove["xx"] -Only assignment, call, increment, decrement, and new object expressions can be used as a statement -Cannot apply indexing with [] to an expression of type 'method group' How does one remove the contents of 1 session when , say...
  17. tester321

    checking if a control is loaded - isInitialized ?

    is there a way to check if a control have been loaded? Thanks
  18. tester321

    ExecuteScalar() method

    hi i having trouble with ExecuteScalar(), [1]I getting a null reference exception that was un handled by me. [2] use the keyword 'new' to create an object instance, but when i add new i get: Object reference not set to an instance of an object. Here are some lines of code, any...
  19. tester321

    server root - newbie

    hi i'm trying to determine the server root: $basedir="/the_server_root/the_directory"; I was wondering (since i'm not "perly" by no means), if some can quickly script me something to determine this. Much appreciated! Thanks.
  20. tester321

    loadVariables and cgi

    Hi i'm trying to instantiate a cgi script on a local server, this is what i have, can someone please give give me a suggestion as why i cannot? thanks loadVariables("http://192.168.1.204/bin/livechat.cgi", "", "POST");

Part and Inventory Search

Back
Top