• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to add class name to an existing tag in php

phphtmlcss


PHP Snippet 1:

$(document).ready(function(){  
   $(".class1").addClass("active"); 
});

Related Snippets

Laravel 5 session not persisting after user is logged in

Losing session data after POST from third party website

Laravel Jetsream Profile page not loading on fresh install

google content api for shopping

Alert message after submitting form in PHP

php mysql + create a friend request system

PHP returning an error message and false

Transfer data between JavaScript and PHP through JSON

Why does using salted hash on python and php give me different results?

Check if user online laravel

How to get company posts from LinkedIn via API?

How to Display Data in Yajra Datatables Laravel 7?

How to fix this error : Ask your hosting provider to use PHP 7.2.5 or higher for both HTTP and CLI?

PHP Startup Unable to load dynamic library /usr/lib/php/20151012/php_mysqli.dll

Why rand() every time I refresh the page?

About Contact Privacy policy Terms and conditions