When i add data in the add record form, if the public holiday checkbox is checked , it will have a different calculation compare to other days. The data entered will then be stored in db.
At the main page, all the data will be retrive from the db.
Displaying all the rows, including the EDIT and DELETE at the very end of each row.
The problem is when i click the EDIT link, it will popup a window using href="javascript:......" i would like to have the check box at the popup window being checked or not checked depending on whether that row of data is a public holiday.
Also, because the data is just simply retrive from db, i have no idea how to know which is the public holiday although all the data is being displayed according to its column.
How do i track it? add another column in db to track it?