[jQuery] namespaces XML parsing
I have had alook into jQuery mailinglist and I have googled and I have seen that there are problems witj jQuery parsing XML (an CSS I've seen) namespaces. I have tried and for example, in FF I need to look for "ns\\:tag" to find a tag, but for example if a look for an attribute I have to do this "ns:attribute". In Google Chrome (WebKit) it simply works with "tag" and "attribute". Has it been solved, as I have seen this problem arose around 2006? It is a bit complicated to code a case for each web browser (IE, FF, Webkit, etc.), is there any plugin or tip to sort this out? Thanks in advanced.
[jQuery] selecting children
Hi, my question is, why next line doesn't work: $("#conditions-"+get_sufix(type)+" > div,tr,span,label,select,input").each(function(){...}); nor next line: $("#conditions-"+get_sufix(type)+" div,tr,span,label,select,input").each(function(){...}); nor next line: $("#conditions-"+get_sufix(type)).children ("div,tr,span,label,select,input").each(function(){...}); and next line does work: $("#conditions-"+get_sufix(type)).find ("div,tr,span,label,select,input").each(function(){...}); for searching child nodes from a given node at any depth? find is implemented for working at any level and children and ">" only for the first level? Thanks
[jQuery] [validation]
Hello, I am using jQuery validation plugin. I have read about the plugin in your website as well as in jQuery plugins forums. I am using it and it works perfectly. My doubt is how can I use the localize messages? I don't know if the plugin has a method or a way to access the messages or I have to get them manually, as these messages are inside: jQuery.extend(jQuery.validator.messages, {...}); If I use, for example, the message in 'required' variable, it does not work, as I try to get it by using simply 'required'. I suppose this is because 'required' is inside the function jQuery.validator.messages. that's why I ask you if the oplugin has a method itself to get these messages. Thanks, David
[jQuery] [validation] localization messages
Hello, I am using jQuery validation plugin. I have read about the plugin in your website as well as in jQuery plugins forums. I am using it and it works perfectly. My doubt is how can I use the localize messages? I don't know if the plugin has a method or a way to access the messages or I have to get them manually, as these messages are inside: jQuery.extend(jQuery.validator.messages, {...}); If I use, for example, the message in 'required' variable, it does not work, as I try to get it by using simply 'required'. I suppose this is because 'required' is inside the function jQuery.validator.messages. that's why I ask you if the oplugin has a method itself to get these messages. Thanks, David