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 Chriss Miller 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: *

  1. boelem

    IsDefined()?

    Mattquantic, I'm never fond of creating globals when you actually want to pass a parameter. You could add a new parameter to an existing function: f(a,b) {...} becomes f(a,b,c) {...} where inside f you can test on passing c: function f(a,b,c) { c = (c ? c : defaultValueFor_c) ... } or...
  2. boelem

    Checkbox and array problem...

    Hi Nematoth, I see only one checkbox in the form (bookid[]) Try "if (document.addbooks.elements[i].checked)" If you want exactly one book checked, why not use a radiogroup? Initially have a dummy option (first option) in the group checked (saying "Notting selected" or something) and then (on...
  3. boelem

    OnChange() Object Expected Error

    Try: onchange="selectChanged(this.options[this.selectedIndex].value);

Part and Inventory Search

Back
Top