<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Change style of html Tag on mouseenter and mouseleave by Jquery</title><style>p {color: green;}</style><script src="http://code.jquery.com/jquery-1.9.1.js"></script></head><body><a href="#">Move the mouse over a paragraph.</a><a href="#">Like this one or the one above.</a><script>$( "p" ).on( "mouseenter", function() {$( this ).css({"background-color": "balck","font-weight": "bolder"});}).on( "mouseleave", function() {var styles = {backgroundColor : "#fds",fontWeight: ""};$( this ).css( styles );});</script></body></html>
Here you will find about .net technology. also can get example about MVC.net and jquery.
Thursday, September 26, 2013
Change style of html Tag on mouseenter and mouseleave by Jquery
Subscribe to:
Post Comments (Atom)
Complete Authentication System in ASP.NET Core using JWT
JWT (JSON Web Token) authentication is widely used for securing APIs in modern applications. In this article, we will build a complete authe...
-
<html> <body> <table> <tr><td>Text to Save:</td></tr> <tr> <td colspan="3...
-
Many developers don't know about how to remove un-used code and block. Visual Studio giving facility to resolve this. The followin...
-
Selector Example Selects * $("*") All elements # id $("#lastname") The element with id="lastname" . class...
No comments:
Post a Comment