Forums

Work on calendar popup button

alex.zerva 03 Nov, 2010
Hello guys,

I'm using a form which uses two input fields for dates, code like this:


<div class="form_item">
  <div class="form_element cf_datetimepicker">
    <label class="cf_label" style="width: 150px;">Plecare</label>
    <input class="cf_datetime required" title="" size="20" id="date_dep" name="date_dep" type="text" />
    
  </div>
  <div class="cfclear"> </div>
</div>


Now, what I need to do is add an additional action to the little button that makes the calendar pop out (the dashboard icon). I need to add somethink very simple, like onclick="alert('Hello')", so basic javascript, nothing fancy.

I tried to look for the code that generates said button, but was unable to find it. Does anyone know where to go?

Many Thanks,

Alex
GreyHead 06 Nov, 2010
Hi Alex,

Pleas esee this thread that should give you some useful clues.

Bob
This topic is locked and no more replies can be posted.