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

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -