Possible Duplicate:
Dynamically Including jQuery using JavaScript if it's not already present
I am making a site similar to google analytics in that I have my users paste a bit of javascript code on their site. My Question is how can I manage to include JQuery in my javascript snippet of code?
I already know how to include files using js: How do I include a JavaScript file in another JavaScript file?
But how do I make sure that there is no JQuery conflicts?
Gold star to anyone who suggests good practices in terms of generating embedded javascript code:)