This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The DHTML Calendar-custom onclick

 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic