Client-side? Just declare the variable outside of any functions.
 
var myVar;
 
Dan
 
________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of girish
nehte
Sent: 16 November 2005 10:52
To: [email protected]
Subject: [AspClassicAnyQuestionIsOk] Declaring global variable


Hello friends,
    i just want to know that how can a user can declare a global
variable, i.e. the variable which can be used in functions made in
javascript in the head part as well as in the body part.
      thanks

            
---------------------------------
Enjoy this Diwali with Y! India Click here

[Non-text portions of this message have been removed]



________________________________

YAHOO! GROUPS LINKS 


        
*        Visit your group "AspClassicAnyQuestionIsOk
<http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
subscribe> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service <http://docs.yahoo.com/info/terms/> . 


________________________________




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to