I have a textbox; \[code\]<input runat="server" type="hidden" value="http://stackoverflow.com/questions/12635008/0" id="input1" name="input1_name">\[/code\]I have a div;\[code\]<div id="div1"> some content </div>\[/code\]I have a seperate .js file where I have a function which is loaded at the Page Load. In that function I have:\[code\]$("#div1").click(function(e){definition;});\[/code\]I want to pass the client id of the input control mentioned above to the click handler in the above scenario.I have not been able to use the property ClientID on the above mentioned javascript file. Rest all is working fine.Please advise how do I pass parameters to the click handler of a control on aspx page to the javascript file (in a way getting ClientID there).This is on .NET.Please let me know in case I need to post any more details here, if anything look ambiguous.