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 wOOdy-Soft 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 unixxxx

  1. unixxxx

    is there any software where I can c

    is there any software where I can convert visual basic .exe to visual basic extension?
  2. unixxxx

    How to pass argument in a function

    thanks for the reply. so if I do it that way, would it be possible to check each button with the value of different range?
  3. unixxxx

    I am trying to make this function:

    Thanks . That helps a lot.
  4. unixxxx

    How to pass argument in a function

    Actually, I would like to do function with three arguments, which is the field name or form object, the lower limit, and the upper limit. And return true if within range. Am I doing it right in the beginning? Please help. THanks
  5. unixxxx

    I am trying to make this function:

    let say if I want to loop through all elements but I don't know the name of the elements that I would like to check, and I use the if .. else statement to write the condition of each element. This is how I did it, but , but it still did not alert when other elements are not filled out. Anything...
  6. unixxxx

    How to pass argument in a function

    I did the script so that I can pass the arguments in a function. Everything seems fine except when I entered all fields, it will check each field instead of only checking one field at a time. As I have 3 "OnClick" button, how do I make each check button to only check its own field...
  7. unixxxx

    How to pass three arguments in a function. PLEase help

    Any reply will help . Thanks.
  8. unixxxx

    How to pass three arguments in a function. PLEase help

    In fact, I just wonder if it is possible to check only a field in a form instead of checking all fields as each field has each button. Any clue?
  9. unixxxx

    How to pass three arguments in a function. PLEase help

    Thanks for your help. I did try that and I guess what it did was it loops and check all fields instead of only checking a field when user presses the button. Any clue will be appreciated. Thanks.
  10. unixxxx

    I am trying to make this function:

    I am trying to make this function: function check() { for (var i=0;i<document.form1.length;i++){ if (document.form1.elements[i].value==&quot;&quot;) { alert(&quot;Please enter your name.&quot;); document.form1.elements[i].focus(); break; I used to call it...
  11. unixxxx

    How to pass three arguments in a function. PLEase help

    Hi, If the function is writtten t his way: function checkValue(x) does it means that it only has one argument? How do I make it into three arguments such as the name of the field, lower limit, and upper limit? Please help. THanks.
  12. unixxxx

    How to pass three arguments in a function. PLEase help

    Thanks for the fast reply. Here is the whole code : How do I put these three functions into a function with three arguments? Thanks again <html> <head> <title>Untitled Document</title> <script type=&quot;text/javascript&quot;> <!-- function alertCheck() { a = document.myForm.field1.value...
  13. unixxxx

    How to pass three arguments in a function. PLEase help

    I actually need three arguments in a function. I need to create one function that will check any field to see if its value is within a range and return a true or false value The function should expect three arguments: the name of the field (form object) the lower limit the upper limit And I...
  14. unixxxx

    How to pass three arguments in a function. PLEase help

    I have problems with this code: If i only called the first form, it will work correctly. But how do I call the second argument and third argument in the same function? Please advice. THanks. form name=&quot;Form&quot;> Enter a number between 5 and 45: <input type=&quot;text&quot...
  15. unixxxx

    how to delete lines using SED

    never mind...i know how to do it :)

Part and Inventory Search

Back
Top