warhead2020 Posted November 1, 2011 Share Posted November 1, 2011 Hi, I am new to jquery. Only juz started to learn about 3 weeks ago. So i can say im a BEGINNER. Got 1 simple question. what is the different between '$.blabla' and '$().blabla'. Dollar sign ..and the other one...dollar sign+ bracket. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/250235-jquery-basic-question/ Share on other sites More sharing options...
trq Posted November 1, 2011 Share Posted November 1, 2011 Nothing. The braces are how you pass a selector to the jQuery object. If your not passing in a selector, you don't need them. Quote Link to comment https://forums.phpfreaks.com/topic/250235-jquery-basic-question/#findComment-1284083 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.