473,466 Members | 1,451 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

unable to append child in IE8

5 New Member
I have two objects and their types listed below in javascript.

1st one is parentNode type IXMLDOMElement
2nd is child Node type IXMLDOMElement

parentNode.xml = "<Security/>"
childNode.xml = "<Condition id="Custom1" name="Custom1" Selected="T">Coverage Any (New_Zealand) AND Program_Type Any (program1) AND Agreement_Type Any (Agreement1) AND Customer_Type Any (Customer1)</Condition>"

after building this childNode. when i try to append to parentNode with below code

parentNode.appendChild(childNode);

error is geting during execution this line. error message is
"The parameter is incorrect."

and its working fine in IE8.

fun thing is last evenining this was working fine :) . but when i started checking today morning with out changing any code... again it is give same error. :(
Dec 1 '09 #1
1 4703
Frinavale
9,735 Recognized Expert Moderator Expert
I've never heard of IXMLDOMElement before. I looked it up and it seems like the IXMLDOMElement is a COM object (an ActiveX control). This means that it can only work in IE.

What are you trying to do?
Does your application have a requirement that states that it should run in all web browsers? If so then you should consider using something else.

-Frinny
Dec 1 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: mattsniderppl | last post by:
Hi, i'm relatively new to C++ from java and am having a difficult time with pointers. I'm sure there is something simple that I am doing wrong, but I can't seem to write this in a way that doesn't...
2
by: Scott | last post by:
hi friend's, i m new in both things php and in this group. but i have some basic knowledge of php and DOM in php. here is my problem, i have one textfield for add a new main node (not main like:...
3
by: Jonathan Buckland | last post by:
Can someone give me an example how to append data without having to load the complete XML file. Is this possible? Jonathan
10
by: Rich Wallace | last post by:
I'm sure there's a very weasy way to do this, I've been running hard and fast on several things at once and just may be at the point of overthinking this... I receive an incoming XML document...
0
by: Dakkar | last post by:
I have a code like this and when i execute my program im taking this error unable to enumarate the process module and here is my code public bool proccescheck()
0
by: Maansi Sanghi | last post by:
Hello, (1) I am building a com component with multiple interfaces in .NET Managed VC++ (2) Then use the managed .NET dll in unmanaged code after registering through regasm and getting the...
3
by: Darin | last post by:
This is something that on the surface seems like it should be simple, but I can't think of a way to do this. I have a table that is a list of "jobs", which users create and use. It has a single...
2
by: sj | last post by:
Situation: I have 2 tables, parent table (Invoice) and child table (InvoiceDetails) that is link by InvID in the child. Requirement: Need to do one-time append of information to another table...
1
by: cleary1981 | last post by:
Hi All, Im sure its possible, every time I create a new element and add it to a node it becomes the last child. a=appendChild(object); How do I append a child to be the first node?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.