this and $(this) refers to the same element. The only difference is the way they are used. ‘this’ is used in traditional sense, when ‘this’ is wrapped in $() then it becomes a jQuery object, and you are able to use the power of jQuery.

Check below examples for this and $(this) understanding:

$(document).ready(function(){
 $('#spnValue').mouseover(function()
{ 
alert($(this).text()); 
}); 
});

//And

$(document).ready(function(){ 
$('#spnValue').mouseover(function()
{ 
alert(this.innerText); 
}); 
})

Check More on jQuery

Explore More

On click of parent page pop up window should stay on top only

To ensure the popup window stays on top of the parent page, you can use the window.open() method with specific focus-handling logic. JavaScript allows you to bring the popup window

addchild and removeChild DOM methods for Edge and Chrome

Below we are creating a JavaScript utility that fully supports the functionality of the DOM (like appendChild, removeChild, etc.) in Microsoft Edge and other modern browsers involves wrapping standard DOM

Open a Fixed-Size Popup Without Minimize/Maximize Effects

Disabling the minimize and maximize buttons of a popup window is not directly supported in modern browsers, including Microsoft Edge, due to security and user-experience considerations. The window.open() function provides