<!DOCTYPE html>
<html>
<head>
<title>jQuery [attribute!=value] Selector</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function() {
$("p[class!='param']").css('color', 'red');
});
</script>
</head>
<body>
<h1>Article heading</h1>
<p>first paragraph</p>
<p class="waram">second paragraph</p>
<p class="param">third paragraph</p>
<p>fourth paragraph</p>
</body>
</html>