Set HTML tag’s / element’s attribute

In our previous post about “How to get an element’s / tag’s attribute” I described how to get element’s attribute. In this post I would like to show you how to set any HTML tag’s or element’s attributes. Don’t forget, jQuery can set any attributes like id, class, style, name, title, etc. Setting element’s attribute example: // This code add title to all page links
$("a").attr("title", "This is

Comments

Popular posts from this blog

Types and forms of imitation gemstone and manufactured

Genuine Windows 7 Ultimate: The GENUINE Windows 7 activator for x32 and x6480

7 Tips before you buy detectors for gold and treasures and minerals