我想实现 当我的内容页default.aspx加载完时调用一个外部js文件里的
 $(document).ready(
   function()
   { 
      var spanid=document.getElementById('<%= txtCataId.ClientId %>').value;
   
      $("#spanid").attr("class","cataSelect");
    }
 )具体该怎么弄,附上大致代码