Studyon Minte9.com
jQuery

Study

Attr property



<p>
  Once there was a <em title="huge, gigantic">large</em> dinosaur...
</p>

<script>
	alert($("em").attr("title"));
	// display: huge, gigantic

       $("em").attr("title", "new value");
</script>


http://api.jquery.com/attr/