Method implementation difference.. need some understadning
<p>Excuse me first. because i don't know this is question is valid or not. i if any one clear my doubt then i am happy.</p>

<p>Basically : what is the different between calling a method like:</p>

<ol>
<li><p>object.methodname();</p></li>
<li><p>$('#element').methodname();</p></li>
</ol>

<p>calling both way is working, but what is the different between, in which criteria make first and second type of methods. is it available in the core javascript as well?</p>

<p>In case if i have a function is it possible to make 2 type of method call always?</p>

<p>Can any one give some good reference to understand correctly?</p>

<p>Thanks in advance.</p>
