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> wrote:
> when 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<abhi.pur...@gmail.com> wrote:
>
> > 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 new node in related node like this :
> >  var val = document.createElement('{nodename}');
> > $(val).text({changed value});
> > $({corresponding node}).append($(val));
>
> > This is working fine in FF but not working in IE.
>
> > Kindly guide me how can i solve this problem.
>
> > Thanks in advance to all for providing guidance.

Reply via email to