<script type='text/javascript'> osjs('div.Feedback_Message_Success img').css('src','/img/xpto.png'); </script> i think that jquery doesnt find the 'div.Feedback_Message_Success img'