<html>
<head>
<script type="text/javascript" src="jquery-1.7.1.js" ></script>
<script type="text/javascript">
$(function() {
$("p:odd").html('pawned');
});
</script>
</head>
<body>
<p>1</p>
<p>2</p>
<p>3</p>
<p>4</p>
</body>
</html>
1
pawned
3
pawned