• 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