Posted By

keidash on 09/12/13


javascript function parameters aspnet onclientclick

Versions (?)

Call javascript function on onClientClick method with parameters

 / Published in: ASP

For example, in a button, in OnClientClick method, pass parameters for a javascript method.

  1. OnClientClick=<%# string.Format("selectedCompany('{0}')", Eval("EmpresaCIF")) %> />

Report this snippet  

You need to login to post a comment.