Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to set values to custom attributes in Jquery Reply To: How to set values to custom attributes in Jquery

#145948
Chris
Participant

.val() is used for form elements, for elements that can contain HTML you need to use .html()