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

Home Posts Topics Members FAQ

Run time Error in IE + insertRow() is not working in IE

gskoli
23 New Member
Dear all ,

following is ajax code i have written ,
Where in table(frame_id) i am creating a row &
assigning response to that row , It is working Fine in Other browser Except IE

Expand|Select|Wrap|Line Numbers
  1. if (self.xmlHttpReq.readyState == 4) {
  2.     if (self.xmlHttpReq.status == 200)
  3.              var result = self.xmlHttpReq.responseText;
  4.               if(result != ''){
  5.                           var y =document.getElementById('GANESH_TABLE').innerHTML;
  6.  
  7.                                         var theTable = document.getElementById('GANESH_TABLE');
  8.                                         var x = theTable.tBodies[0].appendChild(document.createElement('tr'));
  9.  
  10.                                         //var x = document.getElementById('GANESH_TABLE').insertRow(0); 
  11.                                         x = result;
  12.                                         //var y = document.getElementById('GANESH_TABLE').innerHTML;
  13.                                         document.getElementById('GANESH_TABLE').innerHTML = x;
  14.                                         document.getElementById('GANESH_TABLE').innerHTML += y;
  15.                                 }
  16.                                 else
  17.                                 {
  18.                                         //alert(self.xmlHttpReq.responseText);  
  19.                                 }
  20.                         }
  21.                         else
  22.                         {
  23.                                 alert("Ajax Error:\n"+self.xmlHttpReq.statusText);
  24.                         }
  25.                 }
  26.  
Please Help Me out ::: Thanks in advance
May 3 '10 #1
2 1968
RamananKalirajan
608 Contributor
Hi gskoli,
remove the '0' in insertRow() fucntion and try. It may be working out.

Thanks and Regards
Ramanan Kalirajan
May 4 '10 #2
gskoli
23 New Member
Thanks for reply ....
May 15 '10 #3

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

Similar topics

1
by: thetuckers_jersey | last post by:
I have inherited an Access database with a SQL backend and need to run a daily report. When I try to run this report which calls stored procedures, I get the following VB error message : Run-time...
0
by: rc | last post by:
Moved a working MS Access application from Win2000 (version 5.0 SP 3) OS with MS Access 2000 and DB2 Run-time client v7.1 FP 4 to XP (version 5.1, SP 2) OS with MS Access 2003 and DB2 Run-time...
10
richardhodge
by: richardhodge | last post by:
I am a VB6 database programmer and have run into a small problem. The company I work for primarily uses Microsoft Access 2000 for the database that is the back end for our software. Well the...
11
by: Bryan Crouse | last post by:
I am looking a way to do error checking on a string at compile time, and if the string isn't the correct length have then have the compiler throw an error. I am working an embedded software that...
1
mathewphilipp
by: mathewphilipp | last post by:
Dear all, I have a VB 6 application (VB 6.0 with MS Access) working well in all other Windows versions like Windows XP, 2000 etc. But it shows the error "Run-time error '713': Application-defined or...
1
by: Gilberto | last post by:
Hello, in several forms i have a NEXT, PREVIOUS and SAVE command buttons which were working perfectly...no errors showing...nothing!!! i had to convert my DB to 2003 so i could create the .mde. I did...
6
by: Lara1 | last post by:
I'm trying to get certain cells to show a hovering alert message when I click on them. (I don't want an error-message style box to pop up, because I'll eventually want it to show for lots of cells...
2
by: prakashwadhwani | last post by:
I have a small app which has been working fine for about 1 year now on WinXp with Office 2003. All of a sudden without any changes being made to it, the app is giving an error on startup ... here's...
4
by: JFKJr | last post by:
Hello everyone, the following code is working fine for the first time when I run it and giving "Run-time error '13': Type mismatch" at line #15 during the second time and so on.... The code is...
0
by: nasreddine | last post by:
I have produced a program and it is working perfectly. Now I just reproduced the same program but in a new spreadsheet where my complete program is kept but it is not working this time. I am getting...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
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...

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.