Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #18073
| From | Eric Bednarz <bednarz@fahr-zur-hoelle.org> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: $(document) and jQuery(document) |
| Organization | Eric Conspiracy Secret Labs |
| References | <1kwj3yx.lhvkrz1vz23l5N%real-not-anti-spam-address@apple-juice.co.uk> <15ec4992-4cff-4bef-a3d0-ca039ce3e172@u19g2000yqj.googlegroups.com> |
| Date | 2013-01-11 20:43 +0100 |
| Message-ID | <m2d2xbqzd7.fsf@nntp.bednarz.nl> (permalink) |
Scott Sauyet <scott.sauyet@gmail.com> writes:
> D.M. Procida wrote:
>> [ ... ]
>> $(document).ready(function(){
>> [ ... ]
>> jQuery(document).ready(function($){
>>
>> Changing it to the latter form made it work.
> [...] So if you're not
> including other libraries, and not redefining `$` yourself, I have no
> idea why one would work and not the other.
http://api.jquery.com/jQuery.noConflict/
(might be called in included third party code, copy and pasted by the OP
himself, or whatnot)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
$(document) and jQuery(document) real-not-anti-spam-address@apple-juice.co.uk (D.M. Procida) - 2013-01-11 10:35 +0000
Re: $(document) and jQuery(document) Scott Sauyet <scott.sauyet@gmail.com> - 2013-01-11 04:12 -0800
Re: $(document) and jQuery(document) Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2013-01-11 20:43 +0100
csiph-web