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?
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
. 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
-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
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
'];
$.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
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
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?
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
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
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
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
. 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
13 matches
Mail list logo