The structure of my page goes 

<div id="CLVMajorModule>
  <div class="majorModule">
    <div class="propImageContainer">  </div>
  </div>
</div>
<div id="PLVMajorModule>
  <div class="majorModule">
    <div class="propImageContainer">  </div>
  </div>
</div>


(poop, the images are being rendered, the code is 
  img src="" alt="" width="120" height="90" class="propImg"
)


I am trying to alter the src of the img element in the first div with id of
CLVMajorModule.  I am a total newb, and am thus not getting it.

Why is this not working?
$("#CLVMajorModule.propImg").attr(
  {
    src:"image.jpg"
  }
);

(I tried searching for an answer, but I fear that I am so newb, I don't know
what exactly to search for.)

Thanks for any help.
-- 
View this message in context: 
http://www.nabble.com/Looking-to-select-and-morph-a-class-within-an-id.-tp23874044s27240p23874044.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to