<head runat="server"> <title></title> <script src="Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript"></script> <script language="javascript" type="text/javascript" > $(function () { jQuery(".ca").click(function () { window.alert(jQuery(this).attr("title")); }) }) </script> </head> <body> <form id="form1" runat="server"> <div id="NewsUl"> <ul> <li class="ca" title="1">1</li> <li class="ca" title="2">2</li> <li class="ca" title="3">3</li> <li class="ca" title="4">4</li> <li class="ca" title="5">5</li> <li class="ca" title="6">6</li> </ul> </div> </form> </body>