Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: window.A_TCALSIDX.length error
pauline
Junior Member

Posts: 2
Registered: 2/15/2009
Location: israel
Member Is Offline
posted on 2/15/2009 at 07:48 PM Reply With Quote
window.A_TCALSIDX.length error


When I scroll up/down the page, I received js error:
window.A_TCALSIDX.length is null or not an object...
Why?

Thanx.
View User's Profile View All Posts By User U2U Member
pauline
Junior Member

Posts: 2
Registered: 2/15/2009
Location: israel
Member Is Offline
posted on 2/16/2009 at 06:33 AM Reply With Quote
additional info


it happened in this function:

function f_tcalHideAll () {
for (var i = 0; i < window.A_TCALSIDX.length; i++)
window.A_TCALSIDX.f_hide();
}

at the line for (var i = 0; i < window.A_TCALSIDX.length; i++) ...
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 2/16/2009 at 04:49 PM Reply With Quote

see if replacing

window.A_TCALSIDX.f_hide();

with

window.A_TCALSIDX.f_hide();

solves the problem
View User's Profile View All Posts By User U2U Member
bk4u
Newbie

Posts: 1
Registered: 2/18/2009
Location: Pune
Member Is Offline
posted on 2/18/2009 at 03:07 PM Reply With Quote

Quote:
Originally posted by pauline
When I scroll up/down the page, I received js error:
window.A_TCALSIDX.length is null or not an object...
Why?

Thanx.


Just Comment each line of function f_tcalHideAll.
It will solve ur problem.

BK.............
View User's Profile View All Posts By User U2U Member
slorandus
Newbie

Posts: 1
Registered: 9/25/2009
Member Is Offline
posted on 9/25/2009 at 09:16 AM Reply With Quote

You have to check if window.A_TCALSIDX exists and is an object.

Try this code:

function f_tcalHideAll () {
if (window.A_TCALSIDX != null){
for (var i = 0; i < window.A_TCALSIDX.length; i++)
window.A_TCALSIDX.f_hide();
}
}
View User's Profile View All Posts By User U2U Member
Techlogix
Newbie

Posts: 1
Registered: 12/26/2009
Location: KHI
Member Is Offline
posted on 12/30/2009 at 04:44 AM Reply With Quote
Error is not resolved


I have tried this code

function f_tcalHideAll () {
if (window.A_TCALSIDX != null){
for (var i = 0; i < window.A_TCALSIDX.length; i++)
window.A_TCALSIDX.f_hide();
}
}


and this code does removes the java script error but it also stops the calendar from opening up. Now when I click the calendar icon it gives me error and no calendar gets opened up.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free Download Free Download
Product Documentation Documentation
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004