Attributes provide information about html elements.They are specified as name value pairs in the opening tag of the html element. <element attribute=”value”/> e.g <input type=”text”/> When a web page is rendered the attribute values are read and the page is rendered accordingly.So to update a web page dynamically attributes are important. For example when a […]
The post jQuery attr method to get and set attributes appeared first on Code Compiled.