Thread: JQuery

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2013
    Posts
    33
    Rep Power
    1

    JQuery


    I'm using jquery to fadein divs in a html page,is there a click function to the divs that can be interpreted as user input, i want it to replace a javascript user prompt

    Code:
    <script> 
          prompt(what do u chose?);
      </script>
    output string =" i chose this"
    I want to assign a string variable to the click function, i don't even think this is possible. Any ideas?
  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Posts
    1,158
    Rep Power
    184
    Last edited by web_loone08; October 25th, 2013 at 04:45 PM.

IMN logo majestic logo threadwatch logo seochat tools logo