<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.4.js'></script>
<script type='text/javascript'>
$(window).load(function(){
$(document).ready(function() {
$('.status:contains("Paid")').css('color', 'red');
$('.status:contains("Received")').css('color', 'green');
});
});
</script>
</head>
<body>
<div class="status">Paid</div>
<div class="status">Received</div>
</body>
</html>