How to resize a image with jquery
        Posted  
        
            by Anders Kitson
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Anders Kitson
        
        
        
        Published on 2010-05-31T19:20:43Z
        Indexed on 
            2010/05/31
            19:33 UTC
        
        
        Read the original article
        Hit count: 245
        
I want to resize a img on a click function. Here is my code that is currently not working. I am not sure if I am doing this correctly at all, any help would be great.
<script>
$(document).ready(function(){
 $("#viewLarge").click(
 function(){
  $("#newsletter").width("950px");
 });
});
</script>
<a id="viewLarge" class="prepend-7" href="#">View Larger(+)</a>
<img id='newsletter' width='630px' src='images/news/hello.jpg'>
© Stack Overflow or respective owner