Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

javascript date chooser

  • 02-04-2005 04:53PM
    #1
    Closed Accounts Posts: 133 ✭✭


    Hi

    I'm using a javascript date picker to populate a date field on a jsp. well at least i'm trying to. The jsp is done with struts and i can't find out how to write directly into the <html:text field

    here is the code:
    <td>dob :</td>
              <td><html:text property="dob" /><html:errors property="dob"/></td>
              <td><a href="javascript:NewCal('dob','ddmmyyyy')"><img src="images/cal.gif" width="16" height="16" border="0" alt="Pick a date"></a></td>
    

    javascript:NewCal('dob','ddmmyyyy') .... dob is here the input id should go.

    I'm kinda stuck on this so any help at all would be appreciated


    JK


Advertisement