Casey Bralla on 23 Nov 2010 08:18:48 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] SOLVED! OT: Need Javascript Help


Carl, you're a genius.   Thanks for your help!

It's times like this I wish I was born smart instead of so darn good lookin'.  
At least I have smart friends!  <grin>




On Tuesday 23 November 2010 11:06:40 am Carl Bullard wrote:
> 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>
> > 


-- 

Casey Bralla
Chief Nerd in Residence
The NerdWorld Organisation
http://www.NerdWorld.org
___________________________________________________________________________
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