How to remove a specific class element from a string by js or jq

clipboard.png

how do js or jq remove specific class elements from a string

Mar.14,2021

append the string to a dom element such as < div id= "fliter-box" > < / div >
$("- sharpfliter-box") .append (str);
find the specific class to be deleted under the change element and delete:
$("- sharpfliter-box"). Find (".ql-cursor"). Remove ();
) then get all the characters in dom and return.
var str = $("- sharpfliter-box"). Text ();


< H1 > Native javascript implementation < / H1 >
// div
let div = document.createElement('div');
// 
div.classList.add('header');
// 
div.classList.remove('header');
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eaefe4-2224.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eaefe4-2224.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?