Webmaster Forum

Go Back   Webmaster Forum > Webmaster Design/Layout Help Forum > HTML Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

HTML Forum Get help from a webmaster in this forum about HTML, or help others.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-23-2008, 01:34 AM
HollowMan HollowMan is offline
Junior Member
 
Join Date: Jun 2008
Posts: 1
HollowMan is an unknown quantity at this point
Submit to Clesto Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq Submit to Spurl
Default Problem

Quote:
function fillTT()
{
var content = document.getElementById('area');
var complete;

getSelected();
TT1xml = objXML.documentElement;
nt1 = TT1xml.childNodes.length;

for(ii=0; ii<nt1; ii++)
{
getSelected();
var aux1 = TT1xml.childNodes[ii].attributes(0).text; // ii = 0 - Year
var aux2 = TT1xml.childNodes[ii].attributes(1).text; // ii = 1 - Semester
var aux3 = TT1xml.childNodes[ii].attributes(2).text; // ii = 2 - Company
if(aux1==yea && aux2==sem && aux3==com)
{
TT2xml = TT1xml.childNodes[ii];
nt2 = TT2xml.childNodes.length;
for(ij=0; ij<nt2; ij++)
{
day = TT2xml.childNodes[ij].childNodes[0].text; // ij = 0 - Class day
begin = TT2xml.childNodes[ij].childNodes[1].text; //ij = 1 - Class begin
end = TT2xml.childNodes[ij].childNodes[2].text; //ij = 2 - Class end
Hi to all of you...
I'm with problems in this line:
Quote:
var aux1 = TT1xml.childNodes[ii].attributes(0).text; // ii = 0 - Year
It says: Invalid call or argument procedure...

Please try to help me...
Best regards
Tiago Freire
Reply With Quote

This ad is part of our Revenue Sharing program
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:21 PM.


Creative Commons License
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.0.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30