Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread stargate
: [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 ? > > -

Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread Miel Soeterbroek
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 :)

Re: [jQuery] Why doesnt this work ?

2006-10-24 Thread Ⓙⓐⓚⓔ
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

[jQuery] Why doesnt this work ?

2006-10-24 Thread stargate
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