: [EMAIL PROTECTED] namens stargate
> Verzonden: di 24-10-2006 21:01
> Aan: jQuery Discussion.
> Onderwerp: [jQuery] Why doesnt this work ?
>
> Hello jQuery guru's :)
>
> could someone tell me why this code doesnt work ?
>
> -
arrow).src();
if(arrowSrc.indexOf("right") == -1 )
//do this
else
//do that
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] namens stargate
Verzonden: di 24-10-2006 21:01
Aan: jQuery Discussion.
Onderwerp: [jQuery] Why doesnt this work ?
Hello jQuery guru's :)
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 ?
>
> -
>
> var
Hello jQuery guru's :)
could someone tell me why this code doesnt work ?
-
var arrow = $("#draghandle").find("img");
if($(arrow).src().contains("right") != ""){
$(arrow).src("Modules/User_Manager/images/arrow_down.gif");
} else {
$(arrow).src("Modules/U