0

Copy the text next to a checkbox "label" into another div when the checkbox is checked?!

I have 2 divs , the first contains some checkboxes and the second is empty. I want the user check any one ,the text next to it "label" is displayed in the other div.. and when he unchecks it, the text is then removed. I'm using JQuery. My checkboxes recieve the text next to them from a SQL database ,so I'm calling them using PHP. * is it possible to set the values of checkbox dynimically "assign their values from an -echo code from php- ?

10th Nov 2017, 2:32 AM
Fatma Adel
Fatma Adel - avatar
1 Odpowiedź