Created
December 8, 2022 23:51
-
-
Save genesis16/c75eb91f359ab64bdca1b2b52d4f7bc7 to your computer and use it in GitHub Desktop.
Change output and class of DOM element Jquery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function( $ ){ | |
//$( ".qodef-ps-info-item.qodef-ps-categories" ).replaceWith( "<h6>PROJECT TYPE: General Practice </h6>" ); | |
$( ".qodef-ps-info-item.qodef-ps-categories .qodef-ps-info-title" ).html( "<h6 class='title-project-type'>PROJECT TYPE:</h6>" ); | |
$( ".qodef-ps-info-item.qodef-ps-categories a" ).wrap( "<span class='category-type-span'></span>" ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment