posted 15 years ago
Alright, more questions along these lines, but slightly different issue now...
schedule.js
So my question is more about scope, I suppose, than anything else. The HTML that is returned in the $.load() method has some javascript included with it. I need it to know about the tabId because that is what I'm using as the parent container for all my selectors. I've passed the tabId into the request and I'm forwarding it back the HTML. What's the best way for that HTML fragement's JavaScript to get this ID, but it be within the scope of that particular executing script vs another tab's version of that ID ? I hope that makes sense.