[PHP]{"length":50,"a ccounting":[
{"firstName":"J ohn","lastName" :"Doe","age":23 },
{"firstName":"M ary","lastName" :"Smith","age": 32},
{"firstName":"S ally","lastName ":"Green","age" :23},
{"firstName":"J im","lastName": "Galley","age": 41}
]}
[/PHP]
I am rendering the above JSON object in a tabel using DOM .
Now i want to add a functionality of Filters means
There is some check box specifying age
if I select 23 age check box it display all the data where age is 23
the table only render those records.
If i unselect the check box it render all the records without filter.
Please help how to do this
Regards,
{"firstName":"J ohn","lastName" :"Doe","age":23 },
{"firstName":"M ary","lastName" :"Smith","age": 32},
{"firstName":"S ally","lastName ":"Green","age" :23},
{"firstName":"J im","lastName": "Galley","age": 41}
]}
[/PHP]
I am rendering the above JSON object in a tabel using DOM .
Now i want to add a functionality of Filters means
There is some check box specifying age
if I select 23 age check box it display all the data where age is 23
the table only render those records.
If i unselect the check box it render all the records without filter.
Please help how to do this
Regards,
Comment