Posted By

wolulcmit on 11/26/09


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


change source of an image with select box and jQuery

 / Published in: jQuery

  1. $("#item_select").change(function(){
  2. var select_val
  3. select_val = $("#item_select").val();
  4. $("img#yourimg").attr("src", select_val);
  5. });

Report this snippet  

You need to login to post a comment.