Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

javascript date chooser

  • 02-04-2005 03: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