Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

javascript date chooser

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