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 set HTMLInput Element type radio index

how to set HTMLInput Element type radio index

Scheduled Pinned Locked Moved ASP.NET
databasetutorialquestion
3 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.
  • S Offline
    S Offline
    Shajeel
    wrote on last edited by
    #1

    Hi I have HTMLInputElement abc whose type is radio, i was using this to check its element whose index is 1. var abc = document.forms[0].elements[i]; // i is loop variable. document.forms[0].item(abc.name, 1).checked = true; it is working in IE but not in FireFox Is there any way around it? Regards Shajeel

    K 1 Reply Last reply
    0
    • S Shajeel

      Hi I have HTMLInputElement abc whose type is radio, i was using this to check its element whose index is 1. var abc = document.forms[0].elements[i]; // i is loop variable. document.forms[0].item(abc.name, 1).checked = true; it is working in IE but not in FireFox Is there any way around it? Regards Shajeel

      K Offline
      K Offline
      Kapilshivam
      wrote on last edited by
      #2

      have u mentioned with scripting language u are using, coz in IE the default is "vb script " and in FireFor the default is javascript. Please mention the scripting language

      S 1 Reply Last reply
      0
      • K Kapilshivam

        have u mentioned with scripting language u are using, coz in IE the default is "vb script " and in FireFor the default is javascript. Please mention the scripting language

        S Offline
        S Offline
        Shajeel
        wrote on last edited by
        #3

        i m using javascript Regards Shajeel

        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