Malasorte Malasorte - 1 year ago 114
HTML Question

Remove attribute title from all HTML elements

I want to compleately wipe the title attribute from all elements inside a html doc. From table, p, img, div etc..

Currently I do this:

// and so on
// and so on
// and so on

Is there a more elegant way to do this? Without selecting individual elements?

Answer Source

Use the attribute selector and select just the elements with the title attribute and not all elements.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download