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 enable tabbing in textbox

How to enable tabbing in textbox

Scheduled Pinned Locked Moved ASP.NET
helptutorial
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.
  • V Offline
    V Offline
    vinay_sinha
    wrote on last edited by
    #1

    I have a textbox(textarea) in which one can write source code in any programming languages, but the problem is that when TAb key pressed instead of giving blank space it gets out from the textbox and move to next element.... So my requirement is that when TAB key is pressed it will give blank space. Thanks in advance,Any help will be appreciated...!!!

    _ 1 Reply Last reply
    0
    • V vinay_sinha

      I have a textbox(textarea) in which one can write source code in any programming languages, but the problem is that when TAb key pressed instead of giving blank space it gets out from the textbox and move to next element.... So my requirement is that when TAB key is pressed it will give blank space. Thanks in advance,Any help will be appreciated...!!!

      _ Offline
      _ Offline
      _Amy
      wrote on last edited by
      #2

      You should use onkeydown event of textarea to handle tabs. Refer this link[^] for JavaScript & this link[^] for JQuery.

      Just shift & delete(Remember no backups), then you'll enjoy. ___________________________________________________ A little help through the tips and Articles 1. Application Login through Active Directory (LDAP) 2. Table Valued Parameters

      V 1 Reply Last reply
      0
      • _ _Amy

        You should use onkeydown event of textarea to handle tabs. Refer this link[^] for JavaScript & this link[^] for JQuery.

        Just shift & delete(Remember no backups), then you'll enjoy. ___________________________________________________ A little help through the tips and Articles 1. Application Login through Active Directory (LDAP) 2. Table Valued Parameters

        V Offline
        V Offline
        vinay_sinha
        wrote on last edited by
        #3

        Thanks _Amy :)

        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