Answers for "on success replace class div ajax"

0

on success replace class div ajax

$(selector).replaceWith(content,function(index))

//example
$('alert').replaceWith('alert alert-success')
//or
$('alert').addClass('alert-succes')
Posted by: Guest on February-18-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language