[jQuery] Re: how to parse xml with namespace ?????

2009-11-18 Thread g...@iec
Here is the code : var data = {xml content}; $(data).find('{namespace}\\:nodename').each(function() { { Code to perform something.} }); On Nov 18, 2:42 pm, Peter hokwai...@gmail.com wrote: Can you show the code you are using. On Nov 18, 1:18 pm, g...@iec abhi.pur...@gmail.com wrote: Can

[jQuery] how to parse xml with namespace ?????

2009-11-17 Thread g...@iec
Hi all, I have came across an issue related to xml parsing. Here is code for parsing xml with namespace : var data = {xml content}; $(data).find('{namespace}\\:nodename').each(function() { { Code to perform something.} }); This code works fine in IE and FF and xml got parsed as expected.

[jQuery] Re: XML Writing

2009-11-17 Thread g...@iec
Here is code : var xml = {xml content}; $(xml).find('{nodename}').text({changed value}); This code works fine. And content should be proper xml and not string. On Nov 16, 12:39 pm, Shane wishiwasmiss...@gmail.com wrote: Hey guys, Is it possible to use jQuery to write to XML nodes for

[jQuery] Re: how to parse xml with namespace ?????

2009-11-17 Thread g...@iec
Can anybody provide me with some suggestions regarding above mentioned issue On Nov 17, 7:15 pm, g...@iec abhi.pur...@gmail.com wrote: Hi all, I have came across an issue related to xml parsing. Here is code for parsing xml with namespace : var data = {xml content}; $(data).find

[jQuery] Re: Creating a new tag

2009-09-24 Thread g...@iec
var link = $('a/a').attr(attribute_name,value); $(target_element).append(link); This will work. On Sep 24, 2:06 pm, Coxy stephenbung...@yahoo.de wrote: How do I create a new tag with jquery? I tried something like this: link = $('a').attr({                 class   : 'logoLink',          

[jQuery] Re: select cannot check checkboxes' states

2009-09-24 Thread g...@iec
$('[type=checkbox]:checked').each(function(){}) This works. On Sep 24, 2:22 pm, Jonathan Vanherpe (T T NV) jonat...@tnt.be wrote: tried Sam Doyle's response yet? It looks like that might be the proper way. $(input[type=checkbox]:checked).each(function(){}); Jonathan Xi Shen wrote:

[jQuery] JQuery ui dialog issue

2009-09-23 Thread g...@iec
Hi all, I have an issue. I am showing modal loading dialog while making ajax call. My dialog config is shown below : $('#loadingSearch').dialog({ autoOpen: false, modal: !$.browser.msie, bgiframe: true,

[jQuery] Re: JQuery ui dialog issue

2009-09-23 Thread g...@iec
Help me out of this issue... i got stuck On Sep 23, 6:08 pm, g...@iec abhi.pur...@gmail.com wrote: Hi all, I have an issue. I am showing modal loading dialog while making ajax call. My dialog config is shown below : $('#loadingSearch').dialog({                         autoOpen

[jQuery] issue regarding live event

2009-09-22 Thread g...@iec
Hi all, I had encounter a situation in which 'live' seems to be not working in ie but nworking fine in ff. $('a.start').mousedown(function(){ {some code} }); this code is written in js file. in another js file , $('a.start').live('mousedown', function(){ {some code} }); is

[jQuery] Re: issue regarding live event

2009-09-22 Thread g...@iec
about your situation may be i can help you more. On Tue, Sep 22, 2009 at 4:32 PM, g...@iec abhi.pur...@gmail.com wrote: Hi all, I had encounter a situation in which 'live' seems to be not working in ie but nworking fine in ff. $('a.start').mousedown(function(){       {some code

[jQuery] Re: remove() and empy() not work for xml

2009-09-08 Thread g...@iec
thanks for your suggestion On Sep 8, 7:37 am, RobG robg...@gmail.com wrote: On Sep 7, 3:42 pm, g...@iec abhi.pur...@gmail.com wrote: Hi.can anybody  help me out to come out of this You many need to use getElementsByTagNameNS('*',tagName). To remove nodes try

[jQuery] Re: remove() and empy() not work for xml

2009-09-06 Thread g...@iec
Hi.can anybody help me out to come out of this On Sep 5, 7:50 pm, g...@iec abhi.pur...@gmail.com wrote: Hi All, I got stuck in a situation. I have to remove a node from XML using jquery but remove() and empty() is not working. var xmlData = {xml document}; $(xmlData).find

[jQuery] remove() and empy() not work for xml

2009-09-05 Thread g...@iec
Hi All, I got stuck in a situation. I have to remove a node from XML using jquery but remove() and empty() is not working. var xmlData = {xml document}; $(xmlData).find({node}).each(function(){ $(this).remove(); or $(this).parent().empty(); }) This work fine for firefox but not work in

[jQuery] Re: $.ajax() issue

2009-09-01 Thread g...@iec
solving yourissuehow you see fit On Aug 29, 10:01 am, g...@iec abhi.pur...@gmail.com wrote: Is there any other way to find out the root cause apart from these. On Aug 29, 6:55 pm, MorningZ morni...@gmail.com wrote: Have you tried an HTTP monitor like Fiddler (http://www.getfiddler.com

[jQuery] Re: $.ajax() issue

2009-09-01 Thread g...@iec
Hi MorningZ, I found the problem. In ie, 'contentType' changed from 'application/xml' to 'text/xml' and on server-side we are expecting 'application/xml'.And in firefox,contentType is application/xml. But don't know how it got changed? Any idea is welcomed. On Sep 1, 11:22 am, g...@iec

[jQuery] $.ajax() issue

2009-08-29 Thread g...@iec
Hi all, I have an issue. I am submitting XML data using ajax call which updates data on server. It works fine in firefox but gave 404 error in IE. The ajax call which i am using is mentioned below : var url = '/' + serviceContext + '/services/content/update/' + structid;

[jQuery] Re: $.ajax() issue

2009-08-29 Thread g...@iec
On Aug 29, 9:46 am, g...@iec abhi.pur...@gmail.com wrote: Hi all, I have an issue. I am submitting XML data using ajax call which updates data on server. It works fine in firefox but gave 404 error in IE. The ajax call which i am using is mentioned below : var url = '/' + serviceContext

[jQuery] not able to append new tag in XML in IE

2009-08-26 Thread g...@iec
I am making an ajax call and in response, i am getting an XML. And then using data from XML, i am creating a form. I stored response XMl in a variable like this var xmlData = $(data); If there is any change in any field of form then i am changing corresponding node value in xmlData by

[jQuery] Re: not able to append new tag in XML in IE

2009-08-26 Thread g...@iec
Thanks for your reply. But this is not working.The data which i got as a result from ajax call on success, i stored it in a global variable. Like this var xmlData = $(data); But when i was executing like you told, it is not creating an element. On Aug 26, 1:49 pm, Paolo Chiodi chiod...@gmail.com

[jQuery] Re: not able to append new tag in XML in IE

2009-08-26 Thread g...@iec
In ajax call, i set dataType as 'xml' and on success, i call a function in which i am passing xml which i got as response. And in the function i a assigning that data to a global variable so that i can access it from any function. I am assigning it to a global variable as shown below : xyz :