RE: html:javascript simple question

2004-02-19 Thread Kris Schneider
> > http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html > > Ben > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 19 februari 2004 11:27 > To: [EMAIL PROTECTED] > Subject: html:javascript simple question &g

RE: html:javascript simple question

2004-02-19 Thread Turner Benjamin
the DateTime taglib would perfectly fit your needs: http://jakarta.apache.org/taglibs/doc/datetime-doc/intro.html Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 19 februari 2004 11:27 To: [EMAIL PROTECTED] Subject: html:javascript simple question Hi

html:javascript simple question

2004-02-19 Thread struts
Hi, In my jsp's i do on the bottom of the jsp: today(); In my head section i then define the method... function today(){ var today = new Date(); var month = today.getMonth()+1; var year = today.getYear(); var day = today.getDate(); if(day<10)