Carl Bullard on 23 Nov 2010 08:06:48 -0800 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] OT: Need Javascript Help |
It has to do with the order of your forms. The way your calling the calendar it's looking for your text field in the first form. It doesn't exist there. I got an object undefined error when debugging the page in Firebug (which I highly recomend for web development). I changed this: onClick="cal1x.select(document.forms[0].date1x,'anchor1x','MM/dd/yyyy'); return false;" to this: onClick="cal1x.select(document.forms[1].date1x,'anchor1x','MM/dd/yyyy'); return false;" and your calendar popped up. Carl On Tue, Nov 23, 2010 at 10:54 AM, Douglas Muth <doug.muth@gmail.com> wrote: > On Tue, Nov 23, 2010 at 10:38 AM, Casey Bralla <MailList@nerdworld.org> wrote: >> Sorry for the off-topic, but I'm working on a web page that runs on apache on >> Debian. <grin> >> > [snip] > > Looking at your samples, I see that the HTML tags are in all caps. > Maybe folks who are more familiar with the XHTML standard can > correct/clarify, but I'm pretty sure that XHTML mandates that all tags > should be lowercase. It's a long shot, but you may want to consider > lower-casing all of those tags. > > -- Doug > > -- > http://www.dmuth.org/ > http://twitter.com/dmuth > ___________________________________________________________________________ > Philadelphia Linux Users Group -- http://www.phillylinux.org > Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce > General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug > ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug