attempting to check whether an image is on a page with jquery
<p>I have an image on my webpage as follows:</p>

<pre><code>&lt;img id="k4Tbx6luuHmP01dpI4BRZw==" src="/thumbnail/k4Tbx6luuHmP01dpI4BRZw=="&gt;
</code></pre>

<p>However, when I try</p>

<pre><code>var is_image_there = $("#k4Tbx6luuHmP01dpI4BRZw==").attr("src");
console.log(is_image_there);
</code></pre>

<p>Chrome console returns "undefined". What am I doing wrong?</p>
