calendar and onchange question

Discussion in 'Javascript' started by Peter, May 23, 2007.

  1. Peter

    Peter Guest


    I'm a newbie a javascript so please help me out

    I have a button that opens a calendar and populates a text box. I use
    the onclick event to open the calendar.

    Now the textbox has a onChange event that calls a function. The
    onChange fires perfectly if I type the date on the textbox, but if the
    calendar changes the date on the field then the onChange event doesn't fire.

    I even try the following, but it seems that both functions run at the
    same time and the value on the field is never picked up.

    I was trying to get setPen to run after calendarpicker was done.

    What do I need to do to get around this?

    Peter, May 23, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.