473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Scripts working fine on my machine but error: object required , on older desktop

i built a shopping software for a customer its working perfectly on my system but when i transferred to my customer's old desktop system this script throws error "object required" i tried Flock browser no error but no output here is my script below
Expand|Select|Wrap|Line Numbers
  1.    if (req.status==200) { 
  2.  
  3.                     xmlResponse = req.responseXML; 
  4.                     xmlElement  = xmlResponse.documentElement;
  5.                     //alert( xmlElement.childNodes[3].childNodes[0].data)
  6.                     if( xmlElement.firstChild.childNodes[0].data =="Successful"){
  7.  
  8.                         if(document.getElementById(src).innerHTML ==""){
  9.  
  10.                         document.getElementById(src).innerHTML += "<table width='100%' border='1' cellspacing='0' bordercolor='#999999'><tr bgcolor='#EAEAEA'><td width='10%'>REMOVE</td><td width='50%'>ITEM NAME</td><td width='10%'>QUANTITY</td><td>PRICE</td></tr></table>";
  11.                         }
  12.                         totp = parseFloat(totp) + parseFloat(xmlElement.childNodes[4].childNodes[0].data)
  13.                         rw = "<div id='item"+row+"'>";
  14.                         rw += "<table width='100%' border='1' cellspacing='0' bordercolor='#ffffff'><tr bgcolor='#EAEAEA'>";
  15.                         rw += "<td width='10%'><a href=javascript:removeRow('item"+row+"','"+ xmlElement.childNodes[1].childNodes[0].data +"','"+rno+"','"+branch+"','"+  xmlElement.childNodes[3].childNodes[0].data +"','"+ xmlElement.childNodes[4].childNodes[0].data +"')>REMOVE</a></td><td width='50%'>"+  xmlElement.childNodes[2].childNodes[0].data +"</td><td width='10%'>"+  xmlElement.childNodes[3].childNodes[0].data +"</td><td>"+ xmlElement.childNodes[4].childNodes[0].data +"</td></tr></table></div>";
  16.  
  17. }
  18.  
could it be that this machine does not support XML ? i ve tried 4 browsers on my system and they all worked(IE,Safari,Opera,Firefox)
Dec 19 '10 #1
1 1648
acoder
16,027 Expert Mod 8TB
Which line is the error on and which browser and version number are using on the customer's machine?
Dec 20 '10 #2

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

Similar topics

4
by: Oli | last post by:
Hi Hope someone can help: <% set rsProdInfo = Server.CreateObject("ADODB.Recordset") rsProdInfo.Open "TBL_Products", Conn intTotal = 0
5
by: fred | last post by:
I don't know if I'm doing this correctly. I have a little programming experience in python, c++ and some others but this is my first time with javascript. I'm trying have my website detect the...
1
by: IkBenHet | last post by:
Hello, I found this script to create a simple rich text form (http://programmabilities.com/xml/index.php?id=17): <html> <head> <title>Rich Text Editor</title> </head> <body>
4
by: dubing | last post by:
Hi, Our webpage uses the following JavaScript code. function toggleSubmenu(divId, link) { var div = document.getElementById(divId); div.style.display = (div.style.display == 'block') ?...
1
by: Andrew Phillipo | last post by:
I have some code that works everywhere but IE5.0, including IE5.5. Here is a snippet of where the code seems to go wrong: Location.prototype.change = function(current) { this.current = current;...
3
by: maartha | last post by:
i have a js code which displays two html div on a click event.code is like this. function display() { document.getElementById('headingtd1').bgColor="#EFEBEF"; ...
3
by: rathiagu | last post by:
the below is my part of set cn = Server.CreateObject("ADODB.Connection") strCS = "Provider=System.Data.SqlClient; Data Source=" & _ Server.MapPath("management.mdb")& ";" cn.open strCS
2
by: Vbbeginner07 | last post by:
Please check the following code for adding records to a database: Im getting the error:object required in the following code( which is in bold letters) kindly go through Private Sub...
3
by: ShyamKrishnegowda | last post by:
We are writing test scripts to our product. In one of the script we are facing an issue. This test script will create a COM component and executes the following function. O1 and O2 are out...
1
by: ShyamKrishnegowda | last post by:
We are writing test scripts to our product. In one of the script we are facing an issue. This test script will create a COM component and executes the following function. O1 and O2 are out...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.