Good all the time of the day gentlemen. We have:
// php код <a style=\"{cursor:pointer;display:inline;}\" id=\"si_aa".$m4["id"]."\"> <input type=\"checkbox\"> </a>
In essence, a link that sends data via ajax (Pts do not want to touch id, since it is with data) Inside the link is a checkbox. Click and remove the checkboxes - the data is sent, all fun.
Is it possible to replace the checkbox with text, so that when you press / release a div, the text will change the style properties? (hunt not to hurt ajax)
// не нажали <a style=\"{cursor:pointer;display:inline;}\" id=\"si_aaconf\"> <div style=\"тут_я_чего_ни_будь_напишу_1\">слово</div> </a> // нажали, стиль другой <a style=\"{cursor:pointer;display:inline;}\" id=\"si_aaconf\"> <div style=\"тут_я_чего_ни_будь_напишу_2\">слово</div> </a>
those. something like a checkbox similarity turns out - you can see what is pressed and what is not