contains is object has no method?
<p>Im trying to find weather there is some character in my string in JS </p>

<p>like that :</p>

<pre><code>$('.upld_btn').bind("click", function () {

    changeApiFormat($('#embbed').val());

});

if ($('#embbed.contains("?vid=")')) {
....

....
}
</code></pre>

<p>I've got an error in my google chrome console :</p>

<pre><code>Object XXXX has no method 'contains'
</code></pre>

<p>how come?!</p>
