开发者

vacation or time off calendar

开发者 https://www.devze.com 2023-01-26 00:07 出处:网络
I would like to display vacation and time offs on a linear calendar where the days of the months are the column names and rows are the employee names.

I would like to display vacation and time offs on a linear calendar where the days of the months are the column names and rows are the employee names. I know there is a way to ac开发者_JAVA技巧hieve this using php and javascript but I would like to know if there is a shortcut solution that I can use to implement this quicker.


Use javascript to output a <table>, using something like SortTable or a javascript framework to output it.

Hook up some javascript on the table's click events, and use AJAX to ask PHP for the relevant information. The PHP script can call the database and output the information in something such as JSON.

Without any more specifics in your question I don't think you're going to get much more help.

0

精彩评论

暂无评论...
验证码 换一张
取 消