asp.net - How do I print an ASP clientID in a web page? -


how print asp clientid in web page?

  <td class="coldatos" colspan="1"><asp:textbox id="fecha_aplicacion" runat="server" width="85%"></asp:textbox>                                           <a href="javascript:alert('<%=fecha_aplicacion.clientid %>')">                         mostrar fecha                                         </a></td> 

update: need print in asp side, no code behind side(onload,oninit,etc)( i'm not familiar asp terms)

client side only:

<a href='javascript:alert("<%= fecha_aplicacion.clientid %>")'> 

how work?

i believe if not work yet single/double quote escapes...


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -