How to check any element has specific attribute or not
<p>suppose image tag has custom attribute like "originalSrc" or something like this.
before accessing that attribute can i check that img tag has that attribute or not by jquery.</p>

<pre><code>$("img.lazyload").each(function() {
$(this).attr("src", $(this).attr("original"));
$(this).removeAttr("original");
</code></pre>

<p>});</p>

<p>here i remove attribute like  <code>$(this).removeAttr("original");</code>
before remove it i want to check that img tag has the "original" attribute or not. if it has "original" attribute then i will remove it. so if there anything such checking is possible by jquery then please let me know.</p>

<p>thanks</p>
