Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macintosh JavaScript problem

Status
Not open for further replies.
Dec 16, 2002
101
GB
Hi
Trying to populate a drop down menu with dates. Works fine in Windows but not on Macs. Code is:
<script type=&quot;text/javascript&quot;>document.write(week1.getDate() + &quot; &quot; + monthname[week1.getMonth()] + &quot; &quot; + week1.getYear());</script>

Placed between option tags in select object.

Any ideas
Thanks in advance
Chris

 
Safari Browser??

What happens if you take out the
monthname[week1.getMonth()]

2b||!2b
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top