I suggest starting off with a naked calendar, just the dates.

then jquery a class on the present & future dates.

then jquery those with your new class to have all the clicks an hovers you want.

no special attributes required.

On 11/6/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
>  Hi folks,
>
>  I have a table that represents a calendar. The user will be able to select
> multiple dates from the calendar, but cannot select dates in the past. I've
> written this code before using all JavaScript and what I did was add several
> additional pieces of data to the td tag other than ID or CLASS. I added
> "state", "index", "status" and a few others. I accessed these through
> f.calendarid.state... that kind of thing.
>
>  So I'm wanting to apply an event (probably several: click, mouseover,
> mouseout) to only those td tags that have their state  set to "enabled". Not
> to *all* tds and not even to all tds with a certain class. ID alone won't
> work. Is there a way to do this using jQuery? Something like: $("td"
> status).click()... or whatever.
>
>  Thanks,
>  Chris
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to