469,944 Members | 2,314 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,944 developers. It's quick & easy.

How to correct the error "crossobj has no properties" in mozilla


*** Sent via Developersdex http://www.developersdex.com ***
Jan 12 '06 #1
1 1970

rajesh wrote:

Please do not start new topic with each reply.
Reply to the original thread which you have started.

It is a very obscure (let's stick to this word) script, so the global
answer would be: it may work in Internet Explorer because IE is trying
to understand some code where any other browser would give up on the
first line. For the same reason it may fall in Firefox or any other

As a durty fix try to replace this ugliness:
crossobj=(dom)?document.getElementsByName("calenda r").style:

crossobj = (document.getElementById) ?
document.getElementById("calendar") : null;

and make sure that you nave on your page a <div> (or whatever a hey is
that) with id="calendar"

For a more conventional (though not perfect of course) popup calendar
sample you may look at:

Jan 12 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Luke Dalessandro | last post: by
5 posts views Thread by Brad | last post: by
17 posts views Thread by David C. Ullrich | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.