views:

21

answers:

1

Is there any way to display a Calendar Extender popup without using it the traditional way? and the also grabbing the value selected?

Some code that I made up to make it more clear:

<table>
<tr>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"/></td>
<td><input type="text"></td>
</tr>
</table>


$('table :text').focus(function(){
                    displayTheCalendar();
                 });

//PSEUDOCODE!!!
function onDateSelected(e){
    $(this || event.srcElement || etc..).val(e.dateSelected);
}

I guess I need some kind of 'hack' here for the js of that Calendar.

PS: I must use the extender or any control that looks and feel like the extender.