how to highlight cells in calendar with two different colors, i.e. some cells in RED and the others in GREEN .. using JavaScript
javascr
As shown on this site: http://jquerymobile.com/demos/1.0rc4/docs/api/events.html there is an event called 'vmouseover' which stands a 'Normalized event for handling touch or mouseover events'.
That is what you need, a possibility to change something on an event, which is in fact the mouseover (formerly known as hover).
in Jquery 1.7 you could use
$("#yourElement").on("vmouseover", function(event){
$(this).css('color', 'green')
$(this).css('background-color', 'red')
});
Apply this for your different elements in the calender and it should work.
On(): http://api.jquery.com/on/
Css(): http://api.jquery.com/css/
and next time: provide some example code of what you already tried!!
zY