<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>JQ-表单选择器</title>
<script src="jquery.min.js" type="text/javascript"></script>
</head>
<body>
<form>
<input type="text" />
<input type="checkbox" />
<input type="radio" />
<input type="image" />
<input type="file" />
<input type="submit" />
<input type="reset" />
<input type="password" />
<input type="button" />
<select></select>
<textarea></textarea>
<button></button>
</form>
<script>
$(":text").css("background","red");
$(":radio").css("background","red");
$(":checkbox").css("background","red");
$(":file").css("background","red");
</script>
</body>
</html>
JQ-表单选择器
最新推荐文章于 2022-07-24 23:13:12 发布