vendredi 31 juillet 2015

how to get ID for several elements jquery

I have a situation where I want to print labels on a form, and I'm using Label For to do this. I'd like to append the child tag's ID using jquery, but I'm not sure how.

so basically what I want to do is get the ID of several elements and append those IDs to my page. I want to keep my DOM and my jquery code as clean as possible. What would be the easiest way to do this?




Aucun commentaire:

Enregistrer un commentaire