[jQuery] Case Insentitive Selectorys

2008-09-20 Thread blockedmind
I am making search in an xml file, but I don't get expected results since jQuery selectors are case-sensitive. I use something like $(returnedXml).find(item[name*='+search+']).each(function(){ }); How to make it INCASE-SENSITIVE?

[jQuery] Re: Case Insentitive Selectorys

2008-09-22 Thread blockedmind
Nothing? On Sep 20, 5:22 pm, blockedmind [EMAIL PROTECTED] wrote: I am making search in an xml file, but I don't get expected results since jQuery selectors arecase-sensitive. I use something like $(returnedXml).find(item[name*='+search+']).each(function(){ }); How to make it INCASE

[jQuery] Re: Case Insentitive Selectorys

2008-09-23 Thread blockedmind
. Maybe just return your xml such that it's already been converted to lower case, then just do what you were doing before except use search.toLowerCase() instead of just search. Hope it helps. --Erik On Mon, Sep 22, 2008 at 12:35 AM, blockedmind [EMAIL PROTECTED] wrote: Nothing

[jQuery] Re: Case Insentitive Selectorys

2008-09-25 Thread blockedmind
-selector/ It sounds like writing a custom selector might be your best bet. You should be able to do an exact, contains, and starts-with search, depending on your needs. -Eric On Sep 23, 7:51 am, blockedmind [EMAIL PROTECTED] wrote: hmmm thanks for that i'll check it out but exact search

[jQuery] Looping JSON Data

2009-01-21 Thread blockedmind
I have data recieved by ajax function of jquery like: {list:[ {id:17,name:Testing,description:test,owner:1,active:1,featured:0,machinename:testing}, {id:16,name:Another List,description:Another,owner:1,active:1,featured:0,machinename:another- list}, {id:15,name:Listenin

[jQuery] Re: Looping JSON Data

2009-01-23 Thread blockedmind
']; $.each(theList,function (a,b,c) { alert (b.id + ',' + b.name); }) On Jan 22, 4:46 am, blockedmind blockedm...@gmail.com wrote: I have data recieved by ajax function of jquery like: {list:[ {id:17,name:Testing,description:test,owner:1,active:1,featured:0,machinename:testing

[jQuery] Re: Looping JSON Data

2009-01-23 Thread blockedmind
well, i tried some options more... it turns out when i set ajax data type to text and convert it to json object using json.parser() it works just fine. ok then its solved but i should be able to pass data as a json object between two functions, right? On Jan 23, 4:24 pm, blockedmind blockedm

[jQuery] fadeOut Callback Trigger Count

2009-04-17 Thread blockedmind
Callback function of fadeOut effect is executed once for each element animated against. Is it possible to make it executed once after all elements faded?

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-17 Thread blockedmind
This problem occurs when $(#menu li a).fadeOut(function() {}); being used. callback function is called 3 times 'cos there is 3 li elements. On Apr 17, 7:28 pm, blockedmind blockedm...@gmail.com wrote: Callback function of fadeOut effect is executed once for each element animated against

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-17 Thread blockedmind
Nothing? On Apr 17, 8:46 pm, blockedmind blockedm...@gmail.com wrote: This problem occurs when $(#menu li a).fadeOut(function() {}); being used. callback function is called 3 times 'cos there is 3 li elements. On Apr 17, 7:28 pm, blockedmind blockedm...@gmail.com wrote: Callback function

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-19 Thread blockedmind
Hmmm... On Apr 18, 2:28 am, blockedmind blockedm...@gmail.com wrote: Nothing? On Apr 17, 8:46 pm, blockedmind blockedm...@gmail.com wrote: This problem occurs when $(#menu li a).fadeOut(function() {}); being used. callback function is called 3 times 'cos there is 3 li elements. On Apr

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-19 Thread blockedmind
to look at. --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Apr 19, 2009, at 7:22 AM, blockedmind wrote: Hmmm... On Apr 18, 2:28 am, blockedmind blockedm...@gmail.com wrote: Nothing? On Apr 17, 8:46 pm, blockedmind blockedm...@gmail.com wrote

[jQuery] Re: fadeOut Callback Trigger Count

2009-04-20 Thread blockedmind
. for the last sibling in the group.   ($sibs.index(this) == $sibs.length-1). --Karl Karl Swedbergwww.englishrules.comwww.learningjquery.com On Apr 19, 2009, at 6:01 PM, blockedmind wrote: Thanks for the reply firstly. :) Since I'm talking about a default jQuery function I