File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes The DHTML Calendar-custom onclick Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "The DHTML Calendar-custom onclick " Watch "The DHTML Calendar-custom onclick " New topic

The DHTML Calendar-custom onclick

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 608

Hi all,

I was trying to use the 'Ex-Coolest DHTML Calendar' but was having trouble with using my own onclick function when the button to display the calendar is clicked.Then I realised that I needed to have my function execute after the calendar's own onclick otherwise the calendar wouldn't display.I need something equivalent to:

<input type="button" id="calBtn" onclick="eval(this.onclick);myFunc();"/>

But that doesn't work...can someone show me how it's done???

===>SCJP 1.5(72%)<===
I agree. Here's the link:
subject: The DHTML Calendar-custom onclick
It's not a secret anymore!