Skip to content Skip to sidebar Skip to footer

Jquery Load New Vars

It´s posible , if i have one var , use jquery for load news vars and change these For example if i have : var activate_auto='yes'; $('#play').click(function() { /// load vars

Solution 1:

You should only create your var and don't set a value to it, and then, only set its values inside your functions. Ex.:

var activate_auto; // this is outside your click functions

Ok, now I'm not sure what you want to do... will edit it later if necessary =\

Post a Comment for "Jquery Load New Vars"