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. javascript in asp.net

javascript in asp.net

Scheduled Pinned Locked Moved ASP.NET
6 Posts 2 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.
  • R Offline
    R Offline
    rjv2dlv
    wrote on last edited by
    #1

    hi, i want to access the value using getElementById, but i am not able to use the .value property for getElementById. can anyone help me???

    A 1 Reply Last reply
    0
    • R rjv2dlv

      hi, i want to access the value using getElementById, but i am not able to use the .value property for getElementById. can anyone help me???

      A Offline
      A Offline
      anilpal
      wrote on last edited by
      #2

      Hi, Please post also detail of the control by whcih u r trying. I think there must not be a problem with value.

      Regards Anil Pal

      R 1 Reply Last reply
      0
      • A anilpal

        Hi, Please post also detail of the control by whcih u r trying. I think there must not be a problem with value.

        Regards Anil Pal

        R Offline
        R Offline
        rjv2dlv
        wrote on last edited by
        #3

        hi, i am using a table whose rows are created dynamically, and for each row i have a select box. The values are filled in the select box dynamically through the database. I want to access the value selected in the select box in the click of the button. I am handling the button click event using a javascript.

        A 1 Reply Last reply
        0
        • R rjv2dlv

          hi, i am using a table whose rows are created dynamically, and for each row i have a select box. The values are filled in the select box dynamically through the database. I want to access the value selected in the select box in the click of the button. I am handling the button click event using a javascript.

          A Offline
          A Offline
          anilpal
          wrote on last edited by
          #4

          Hi, Please use below code to get the dropdownlist value. var fieldName = document.forms[0].elements["DropDownList1"].value

          Regards Anil Pal

          R 1 Reply Last reply
          0
          • A anilpal

            Hi, Please use below code to get the dropdownlist value. var fieldName = document.forms[0].elements["DropDownList1"].value

            Regards Anil Pal

            R Offline
            R Offline
            rjv2dlv
            wrote on last edited by
            #5

            hi, but here i am not using dropdownlist but simple html select box.....

            R 1 Reply Last reply
            0
            • R rjv2dlv

              hi, but here i am not using dropdownlist but simple html select box.....

              R Offline
              R Offline
              rjv2dlv
              wrote on last edited by
              #6

              help pleaseeeeeeeeee

              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