Category

Jquery

Jquery

Onmouse hover event change color of textbox in jquery

<html><head><meta http-equiv="Content-type" content="text/html; charset=utf-8" /><title>jQuery test</title><style>body {font-family:arial;}</style><head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> //runs once page is loaded and…
Ikhlaque Maner
December 24, 2011
Jquery

What is a different between $(this) and this in jQuery

$(document).ready(function(){    $('#Valuediv').mouseout(function(){       alert($(this).text());  });});$(document).ready(function(){    $('#spnValue').mouseover(function(){       alert(this.innerText);  });});In first example $(this) is a jQuery object here you are using  power of jQueryand…
Ikhlaque Maner
December 24, 2011
Open chat
💬 Need help?
Hello 👋
We are expert at building website and digital properties. Do you have an idea that you want to bring to life. Let us know and we will build it for you.