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 Rhinorhino 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 lerxst3

  1. lerxst3

    Help with getting the value from a text field...

    Thanks! That works! BTW, that was just the relevant code section. cNumRows is declared much earlier. Thanks again!
  2. lerxst3

    Help with getting the value from a text field...

    That's essentially it. Not much more to it than that. The exact code is this: for (col = 1; col <= 16; col ++) { for (row = 1; row <= cNumRows; row ++) { szFieldName = "'textfield" + parseInt(row) + "a" + parseInt(col)+ "'"; BoxName =...
  3. lerxst3

    Help with getting the value from a text field...

    Sorry, new to JS, so maybe I misunderstood what you said. But based on your post, my code looks like this: BoxName = document.forms['forms2'].elements['textfield1a1'].value; myvalue = BoxName; That didn't work.
  4. lerxst3

    Help with getting the value from a text field...

    I need help getting the value from a text box when the name of the text box is in a variable. So normally, you can simply go: myval = document.form.textbox.value; But what I have is: BoxName = "document.form.textbox.value"; So how do I get the value from the text box using the name...

Part and Inventory Search

Back
Top