Globla variables??

Results 1 to 2 of 2

Thread: Globla variables??

  1. #1
    Join Date
    Dec 1969

    Default Globla variables??

    Why should I not use Global variables with Javascript...if I want to store some hidden information on a page, why should I use hidden fields as opposed to global variables?? Is there some sort of memory overhead if the number of global variables becomes to large and it will result in slowing page download?? But if you only need a few global variables, is it alright to use them??<BR><BR>Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Globla variables??

    No real problems - it&#039s just that if you use a hidden form field then it automatically get submitted with the form, so they&#039re really good for passing state around.<BR><BR>Dunc

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts