I am looking through MSDN's website on how to stream media and I ran
accross this example where they had a FOR attribute and an EVENT
attribute to the SCRIPT tag. Example:
<script for="Player" event="buffering(start)">
//...CODE GOES HERE....
</script>
I was wondering if that was a Jscript only thing or not. If JavaScript
can use it then that means I could set a global variable and then have
my other JavaScript code read that global variable and perform actions
based on that.
Also...just a side thought...when you use a piece of code like that
above does that act as a function so if i declared a variable would be
in scope with the function or be global?