Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to access the values of html input box

How to access the values of html input box

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-nettutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    swapnilbhavsar
    wrote on last edited by
    #1

    Hi I am using div tag into ASP.NET using c#. I am creating the text boxes dynamically by giving the Innert html to that div into the loop as string inputhtml = ""; and this inputhtml given to that div as div.InnerHTML=inputhtml and now I want to access the values of this Textboxs on some button click. Swapnil Bhavsar

    R 1 Reply Last reply
    0
    • S swapnilbhavsar

      Hi I am using div tag into ASP.NET using c#. I am creating the text boxes dynamically by giving the Innert html to that div into the loop as string inputhtml = ""; and this inputhtml given to that div as div.InnerHTML=inputhtml and now I want to access the values of this Textboxs on some button click. Swapnil Bhavsar

      R Offline
      R Offline
      RSArockiam
      wrote on last edited by
      #2

      from server side u can access thru Request object like Request.Form("...") from client side u can access thru document.getElementById("....") Regards R.Arockiapathinathan

      B 1 Reply Last reply
      0
      • R RSArockiam

        from server side u can access thru Request object like Request.Form("...") from client side u can access thru document.getElementById("....") Regards R.Arockiapathinathan

        B Offline
        B Offline
        byan
        wrote on last edited by
        #3

        document.getElementById("....") is using the javascript, right! then can i know how 2write in VB to get the value from the html input box??? :->

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups