1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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