dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Affecting a text field

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Posts
    22

    Affecting a text field

    I create a text box in ASP and name it automatically eg:Q71 or Q54.
    The numeric section does change, but not the first char.
    I need to read and write
    <code>
    var Celx = "Q" + <%=splitdata(i)%>
    windows.document.form1.Celx.value=windows.document.Celx.value + 1
    </code>

    How do I go about doing this?
    Last edited by Juliemac; 02-19-2014 at 03:06 PM.

  2. #2
    Join Date
    Sep 2007
    Posts
    22
    Tried this too:

    <code>
    <input type="text" ID='Q<%=objrst2("operationID")%>' value=0>


    windows.document.form1.Q<%=splitdata(i)%>.value=windows.document.form1.Q<%=splitdata(i)%>.value + 1
    </code>
    Last edited by Juliemac; 02-19-2014 at 03:48 PM.

  3. #3
    Join Date
    Sep 2007
    Posts
    22
    Ok. Well thanks guys....

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles