on first look: arrow is a proper JQ object.... so it would not need
$() to make it into a JQ object..

Hope that helps!

On 10/24/06, stargate <[EMAIL PROTECTED]> wrote:
> 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
> [email protected]
> http://jquery.com/discuss/
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to