Filter HTML Table Data using Check Boxes?
I am getting开发者_开发技巧 Table from a database where I will show the mature records only if a Mature Check Box is checked, so the real thing is that I want to populate data. Is there a simple way to do this?
You need something in your database to identify "Mature Records". Then you just need to modify your query (with something like AND mature=0
) if the name/value of the checkbox doesn't appear in the submitted form data.
精彩评论