<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function(){ var title = $("em").attr("title"); $("div").text(title); }); </script> </head> <body> <em title="title value">em</em> <div></div> </body> </html>