No Dice.  That is the first thing I tried.  It is simply uncanny-- I can
set the global var in the onfocus and then alert it to prove it has been
changed, then  the onblur runs, and when I alert the exact save var
there, it is as though it never changed.

~Brad 

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 27, 2006 11:08 AM
To: CF-Talk
Subject: RE: HTML focus

If I set any variables in the onfocus they are NOT available to the
onblur when it runs.

Well then just create the variable globally and it will be, if you want
it.

<script ...>
  Var aGlobalVar = "nothing";

  function onFocusFunc ()
  {
    aGlobalVar = "Foobar";
  } 

  function onBlurFunc ()
  {
    alert(aGlobalVar);
  }
</script>


--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

---------
| 1 |   |
---------  Binary Soduko
|   |   |
---------
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265094
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to