[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 wrote: > Can you show the code you are using. > > On Nov 18, 1:18 pm, "g...@iec" wrote:> Can

[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" wrote: > Hi all, > > I have came across an issue related to xml parsing. > > Here is code for parsing xml with namespace : > > var data = {xml conte

[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 wrote: > Hey guys, > > Is it possible to use jQuery to write to XML nodes for example I have: > >      a >

[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. Bu

[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)" 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] Re: Creating a new tag

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

[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" 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

[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: issue regarding live event

2009-09-22 Thread g...@iec
give me more details about your situation may be i can help you > more. > > On Tue, Sep 22, 2009 at 4:32 PM, g...@iec wrote: > > > Hi all, > > > I had encounter a situation in which 'live' seems to be not working in > > ie but nworking fine in ff. > > >

[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 writt

[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 wrote: > On Sep 7, 3:42 pm, "g...@iec" wrote: > > > Hi.can anybody  help me out to come out of this > > You many need to use getElementsByTagNameNS('*',tagName). To remove > nodes tr

[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" 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

[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 ie

[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 ide

[jQuery] Re: $.ajax() issue

2009-08-31 Thread g...@iec
> to accomplish... > > Whatever i suppose good luck solving yourissuehow you see fit > > On Aug 29, 10:01 am, "g...@iec" wrote: > > > Is there any other way to find out the root cause apart from these. > > > On Aug 29, 6:55 pm, MorningZ wrote: > >

[jQuery] Re: $.ajax() issue

2009-08-29 Thread g...@iec
> On Aug 29, 9:46 am, "g...@iec" 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

[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; alert(no

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

2009-08-28 Thread g...@iec
work both in ie and ff. On Aug 26, 11:24 pm, Paolo Chiodi wrote: > Maybe not the best solution, but here's something that work: > > var new_element = xmlData.get(0).createElement('new_element_name'); > xmlData.find('your_query').append(new_element); >

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

2009-08-26 Thread g...@iec
data from any other function. On Aug 26, 3:47 pm, Paolo Chiodi wrote: > You don't have to use xmlData, which is the jquery object, but data > which is the xml dom (if you set xml as type of the request) > > Paolo > > On Wed, Aug 26, 2009 at 12:35 PM, g...@iec wrote: > >

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

2009-08-26 Thread g...@iec
you do document.createElement you create an element that is child > of "document" document. > Try to create the element with data.createElement. > > Paolo > > On Wed, Aug 26, 2009 at 10:14 AM, g...@iec wrote: > > > I am making an ajax call and in response, i am

[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 appending