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. how can i show an alert when i double click on dynamic text field

how can i show an alert when i double click on dynamic text field

Scheduled Pinned Locked Moved Web Development
helpquestion
6 Posts 4 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
    ramuvk
    wrote on last edited by
    #1

    Hi Experts ! I have one problem with dynamic generated fields. Iam generating some dynamic text fields on a page with readonly properties. what I want is if i double click that dynamic text field, i want to show an alert. Can any body help me in this aspect.

    Cheers Ram

    H 1 Reply Last reply
    0
    • R ramuvk

      Hi Experts ! I have one problem with dynamic generated fields. Iam generating some dynamic text fields on a page with readonly properties. what I want is if i double click that dynamic text field, i want to show an alert. Can any body help me in this aspect.

      Cheers Ram

      H Offline
      H Offline
      Hy Chanhan
      wrote on last edited by
      #2

      HI, Hy Chanhan

      H R K 3 Replies Last reply
      0
      • H Hy Chanhan

        HI, Hy Chanhan

        H Offline
        H Offline
        Hy Chanhan
        wrote on last edited by
        #3

        HI, Ex: Hy Chanhan

        1 Reply Last reply
        0
        • H Hy Chanhan

          HI, Hy Chanhan

          R Offline
          R Offline
          ramuvk
          wrote on last edited by
          #4

          hi Chanhan! Sorry I dint get u. What iam telling is i want to see an alert when i click in dynamic generated text fields.

          Cheers Ram

          E 1 Reply Last reply
          0
          • R ramuvk

            hi Chanhan! Sorry I dint get u. What iam telling is i want to see an alert when i click in dynamic generated text fields.

            Cheers Ram

            E Offline
            E Offline
            enjoycrack
            wrote on last edited by
            #5

            Hi there, IMO, you just add the event ondbclick to execute the js function.... Something like this yourTxtField.Attributes.Add("ondbclick","alert(....)") << >>

            1 Reply Last reply
            0
            • H Hy Chanhan

              HI, Hy Chanhan

              K Offline
              K Offline
              Kamal Sagar
              wrote on last edited by
              #6

              Write code of alert on double click event of the textbox

              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