is it possible to do such thing with jquery so lets say i have this ingreidents trun this into shoping list with check box
1/4 cup of this
1 cup of that
butter
salad
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Dunno what your markup looks like, but I’m going to assume it’s symatic like this:
You could write the following javascript using jQuery to add checkboxes:
That will add a checkbox inside every LI in the list, in front of the text. You should ideally have the items defined in a list like I showed, that makes it a lot easier to figure out what each item is.