Simple Event example
<p>i only know basic javascript and not even basic jquery, but i would like to know something that is probably really trivial in jquery.</p>

<p>I would like a very simple example of how to create a function in a js file and execute that with a dom class parameter(like .sample) from my main script. Something like :</p>

<pre><code>$('.sample').execute(200);
</code></pre>

<p>How would you go about writing this type of function in the jquery js file ? Simply put, i want an example to better understand how $() is used with jquery methods and how .sample is passed as a parameter to execute() and how it's used in it.</p>
