Hello jQuery guru's :)

could someone tell me why this code doesnt work ?

-----------------<CODE>--------------------

 var arrow = $("#draghandle").find("img");
 if($(arrow).src().contains("right") != ""){
  $(arrow).src("Modules/User_Manager/images/arrow_down.gif");
 } else {
  $(arrow).src("Modules/User_Manager/images/arrow_right.gif");
 }
-----------------<CODE>--------------------


Error-Message: $(arrow).src().contains is not a function


Thx and sorry for my stupidy :)

Ralf


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to