I would like to use jquery to add behaviors to a UI widget that people
can grab from my site by copying a javascript snippet. I am wondering
about best practices for this. Do I

* Include a direct call to jquery bundled up with the snippet?
* Do I use jQuery's "no conflict" and then namespace my widget (in
case the snippet grabber already has jquery running on their page /
site)?
* Use document.write?
* Or is it better to do inline javascript on the written html?

Any advice is appreciated. Thanks.

Reply via email to