By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,454 Members | 1,413 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,454 IT Pros & Developers. It's quick & easy.

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

P: n/a


*** Sent via Developersdex ***
Jan 12 '06 #1
Share this Question
Share on Google+
1 Reply

P: n/a

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.