convert jquery to javascript online code example
Example 1: jquery to js converter online
https://properprogramming.com/tools/jquery-to-javascript-converter/
Example 2: jquery to javascript converter online
There is no i guess:D
Example 3: convert jquery to javascript online
$(document).ready(function(){
var $content, $modal, $apnData, $modalCon;
$content = $(".min");
$(".mdlFire").click(function(e){
e.preventDefault();
var $id = $(this).attr("data-target");
$($id).modal({backdrop: false, keyboard: false});
});
$(".modalMinimize").on("click", function(){
$modalCon = $(this).closest(".mymodal").attr("id");
$apnData = $(this).closest(".mymodal");
$modal = "#" + $modalCon;
$(".modal-backdrop").addClass("display-none");
$($modal).toggleClass("min");
if ( $($modal).hasClass("min") ){
$(".minmaxCon").append($apnData);
$(this).find("i").toggleClass( 'fa-minus').toggleClass( 'fa-clone');
}
else {
$(".container").append($apnData);
$(this).find("i").toggleClass( 'fa-clone').toggleClass( 'fa-minus');
};
});
$("button[data-dismiss='modal']").click(function(){
$(this).closest(".mymodal").removeClass("min");
$(".container").removeClass($apnData);
$(this).next('.modalMinimize').find("i").removeClass('fa fa-clone').addClass( 'fa fa-minus');
});
});