<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script src="../EaseUI/Cks/jquery.js" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function chang() {
var evt = event || window.event;
alert(evt.propertyName);
}
function addCssSty() {
$("#input_a").css("background-color", "#F0F0F0").css("border", "0");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="text" onpropertychange="chang(event);" id="input_a" />
<input type="button" onclick="addCssSty();" value="改变样式" />
</div>
</form>
</body>
</html>
时间: 2024-10-29 19:05:30