assign value of javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harpreet1433
    New Member
    • Oct 2006
    • 7

    #1

    assign value of javascript

    i have a arraylist
    what i want to do is assign value of textarea
    to arraylist
    ie arr(0)=value of textarea(in javascript)
    is it possible
    thanks
  • harpreet1433
    New Member
    • Oct 2006
    • 7

    #2
    assign value of javascript

    i have a arraylist in java
    what i want to do is assign value of textarea
    to arraylist
    ie arr(0)=value of textarea(in javascript)
    is it possible
    thanks

    Comment

    • r035198x
      MVP
      • Sep 2006
      • 13225

      #3
      Originally posted by harpreet1433
      i have a arraylist
      what i want to do is assign value of textarea
      to arraylist
      ie arr(0)=value of textarea(in javascript)
      is it possible
      thanks
      java ArrayList or javascript array?

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by harpreet1433
        i have a arraylist in java
        what i want to do is assign value of textarea
        to arraylist
        ie arr(0)=value of textarea(in javascript)
        is it possible
        thanks
        Is the form with the textarea submitted?
        What technologies are you using?
        eg if you are submitting the form to a servlet or jsp, the
        arraylist.add(r equest.getParam eter("textareaN ame"));

        Comment

        • iam_clint
          Recognized Expert Top Contributor
          • Jul 2006
          • 1207

          #5
          What are you trying todo give us an example, are you trying to assign each line of the text area into an array or what? example of what ur trying todo please.

          Comment

          Working...