Scroll To Top

Jquery using make change in stylesheet

By Dhaval Patel Dec 10, 2011
How to make change in style for using jquery
Jquery script  and Style :

 <script type="text/JavaScript" src="../jquery.min.js"></script>

<script type="text/JavaScript" src="../jquery-1.4.2.min.js"></script>

<script type="text/JavaScript">
$('tr').mouseover(function() {
$('tr').mouseout(function() {
$("#div1").css({'border':'1px solid red','font-size':'12px','font-weight':'bold'});



<style type="text/css">
background-color: #BEBEBE;

Design page :
<td id="celebs">
Dhaval patel
<div id="div1">
hi<br />
hello!<br />
How Are you?