declaring global variable in jquery

Discussion in 'jQuery' started by ernest1a, Jun 5, 2009.

  1. #1
    I want to declare variable as global to move it from one function to another. How I can do this in jquery?

    Thank you
     
    ernest1a, Jun 5, 2009 IP
  2. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    just dont put var in front of it.
     
    MMJ, Jun 8, 2009 IP