jQuery objects and parameters - using correct terminolgy/explanation
<p>I'm posting due to a lack of understanding of a couple of concepts and also to check if my description of this code is accurate.</p>

<p>First I have created parent object called contactForm. I've made this object equal to an object literal which uses literal notation that is, creating a new object with { } and defining properties within the brackets.</p>

<p>Then I have the init method. If you’re familiar with object orientated programming that would be the same things as your constructor method. </p>

<p>Now the next part is where is where I am confused. I am using jQuery to create a new element which are the button tags. Is this newly created element an object inside of the parent object called contactForm? </p>

<p>My second question is am I passing a parameter that sets the text to 'Contact Me!' to the contactForm object or the button element/object? </p>

<p>My final question - is it the case that the parameter passed to the object can also be called a property of that object?</p>

<p>Sorry if I haven't been descriptive enough or accurate enough with my terminology. Any succinct and clearly explained answers would be massively appreciated.</p>

<pre><code>var contactForm = {
        init: function() {

            $('&lt;button&gt;&lt;/button&gt;', {
                text: 'Contact Me!'
            })
                .insertAfter('article:first');
        }
    }; 
</code></pre>
