Show value entered in textbox in a table format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toadityakumar
    New Member
    • Mar 2010
    • 4

    #1

    Show value entered in textbox in a table format

    Create an HTML Page with a text box and button. User can input any values in the text box (for e.g Gunjan, 20, Ankur, 30, Kunal, 40, Rajesh,34 , Naresh,34)
    the data is seperated by a comma and is entered in a single textbox only.
    and then user clicks on the button. The values entered in the text box should be displayed in two column's table format.
    Using javascript and also html
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    Are you doing this purely on an html page, wanting javascript to process it? Or are you running this on a java applet?

    Comment

    • toadityakumar
      New Member
      • Mar 2010
      • 4

      #3
      yes purely on an html page i want the function of the problem to be solved using javascript and not a java applet.So that i can just run the html page say test.html and the textbox appears along with a submit button
      i enter a text say aditya,20 then when i press submit it should show these values in the form of a simple table in one column the first text ie:aditya and next column 20
      so the text entered in the textbox is being seperated by a comma and in a single textbox only
      please help out asap urgent

      Comment

      • toadityakumar
        New Member
        • Mar 2010
        • 4

        #4
        just want javascript to process the function on a simple html page and get the solution to my problem of getting the data from the textbox on clicking the button to a table with rows and cloumns depending on the text which is seperated by commas inputted in the textbox

        Comment

        • jkmyoung
          Recognized Expert Top Contributor
          • Mar 2006
          • 2057

          #5
          What part are you having trouble on? Is it the data parsing? If so I suggest you look at the split function:


          Also this thread needs to be moved to the javascript forum.

          Comment

          • toadityakumar
            New Member
            • Mar 2010
            • 4

            #6
            no actually i'm not that fine with javascript so i need to implement this soon.
            please send me the solution to this if you can its urgent

            Comment

            • jkmyoung
              Recognized Expert Top Contributor
              • Mar 2006
              • 2057

              #7
              This forum is to help people who are coding to understand specific coding questions.

              If you need an entire project done, feel free to hire someone at standard commercial rates.

              Comment

              Working...