Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- calling & defining functions using funcName() vs. window['funcName']()


sssweb - 9:20 pm on Jan 7, 2013 (gmt 0)


Everything seems to be working now. Just to be sure, is this still the correct ready() syntax to use without noConflict():

jQuery(document).ready(function($) {...});

Also, just to help me see how it works, how does the script now know that $ = jQuery w/o that statement in there?

Re the [jsfiddle.net...] when I run it with just:

var $ = jQuery;
alert($);

in the js block, and with jQuery library loaded, I get an alert with the following:

function( selector, context ) {
// The jQuery object is actually just the init constructor 'enhanced'
return new jQuery.fn.init( selector, context, rootjQuery );
}


Thread source:: http://www.webmasterworld.com/javascript/4533285.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com