Jquery css double conditional setting

var screenHeightNew = window.innerHeight/2+"px";
var screenWidthNew = window.innerWidth/2+"px";
console.log(screenHeight);
console.log(screenWidth);

$(".active").prev().css("transform-origin","screenWidthNew screenWidthNew");

I want to use jquery to set the specific value of $(".active"). Prev () "s transform-origin). Now both screenHeightNew and screenWidthNew have got the specific value, but set $dynamically (".active"). Prev (). Css ("transform-origin", "?"); how should it be written in it

Mar.22,2021

clipboard.png
isn't that what it says

$('-sharpactive').css('transform-origin',screenHeightNew +" "+screenWidthNew )

spell a string! screenWidthNew +''+ screenWidthNew


$('- sharpactive'). Attr ('transform-origin',screenHeightNew + "" + screenWidthNew)

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-1b36f00-2c059.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-1b36f00-2c059.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?