[jQuery] Re: ASP.NET UserControl and jQuery

2008-06-09 Thread vladv
Thanks, In the second link there was never a good answer... I don't need error messages, I want to know in code if I should or shouldn't load jQuery. The reason I want to add the reference to jQuery and checking is that other people are going to use the control in their project, so on one hand I

[jQuery] Re: ASP.NET UserControl and jQuery

2008-06-08 Thread Don Quijote de Nicaragua
//jQuery library reference //How can I check if the jQuery lib is already loaded by the main page $(document).ready(function(){ //You Code Here... }); Saludos. Don Quijote de Nicaragua. Elder Soto. Check this other link: ht

[jQuery] Re: ASP.NET UserControl and jQuery

2008-06-08 Thread MorningZ
If you want to just make life easy, include jQuery in your layout/ masterpage and call it a day... it's only going to get downloaded once (< 30k if you use the packed version) and cached on the user's browser whenever the first page is loaded, so it's not like it's downloaded again and again on al