Jquery and html5

Hi,

Is it possible to combine this so it can use the same function to edit td and div tags?


$("td[contenteditable=true]").blur(function(){

Thanks

Hi,

Do the div tags also have the content editable attribute?

If so, you can do:

$("[contenteditable=true]").blur(function(){

which targets anything with this attribute.

Ahh sweet, that makes senseā€¦ Thanks