Recently, I am working on the development background management. I want to know how to create an ad schedule table? For a table like this, is it written using a JS plug-in or a PHP program? If it is written in PHP. What is the specific idea? Recently, I am working on the development background management. I want to know how to create an ad schedule table?
For a table like this, is it written using a JS plug-in or a PHP program?
If it is written in PHP. What is the specific idea? Share:
------ Solution --------------------
Yes!
Give a test example (jquery is used considering compatibility)
$ (Function (){
$ ('# Box td'). dblclick (function (e ){
Var row = $ (this). parent (). prevAll (). length;
Var col = $ (this). prevAll (). length;
$ ("Span"). text (row + 1) + ":" + (col + 1 ));
$ (This). toggleClass ('yellow ');
// Here you can send row and col to php
});
});
Script
RatMarkDoubleClickChangeChangeStatusStatus
RatMarkDoubleClickChangeChangeStatusStatus