Skip to content

Lalit Mohan Jaimini

Time is my friend

Category: Jquery

Jquery add / remove attribute

Add Attribute –
$(‘#id’).attr(‘attribute name’,’attribute value’);
$(‘.class’).attr(‘attribute name’,’attribute value’);
Like $(‘#id’).attr(‘multiple’,’multiple’);

Remove Attribute –
$(‘#id’).removeAttr(‘attribute name’);
$(‘.class’).removeAttr(‘attribute name’);

Author Lalit Mohan JaiminiPosted on September 23, 2018Categories JqueryLeave a comment on Jquery add / remove attribute

Recent Posts

  • Remove the git branch from the local and server side
  • Allow ufw firewall in ubuntu
  • install ffmpeg in ubuntu
  • Disable apache server status in ubuntu
  • Use of Hindi (unicode) character from request parameter in java

Categories

  • .htaccess
  • Apache Server
  • Apache Tomcat
  • AWS SERVER
  • General
  • GIT
  • J2EE
  • JAVA
  • Jquery
  • Linux
  • Linux
  • mysql
  • Node JS
  • Programing Languages
  • Python
  • Security
  • Server
  • Youtube
Lalit Mohan Jaimini Privacy Policy Proudly powered by WordPress