I have some elements that need to have the text inside editable, for this I am using the HTML 5 attribute contentEditable. I can’t seem to do use jQuery for this using multiple selectors. What I want to do is have every tag inside a container div be editable. Here’s an example of what it would look like if it worked with jQuery:
$("#container <all tags here>").contentEditable = "true";
I dont know how to make it select all tags but you get the point.
So all span, div, tables, bold, etc should be editable individually
*means “all element types”, and is analogous toa,div,span,ul,etc...Like most other jQuery functions, attr applies the same operation to every element captured by the selector.