Hello. when i use embedded javascript functions i can get client id of elements with this code
for example : document.getElementById('<%=buttonXXX.ClientID%>' )
but now i am using external javascript file for caching and faster rendering
but this code does not work any more for getting client id's of elements
it gives error
how can i get client ids of elements at external javascript file
using
asp.net 2.0 , netframework 3.5 , c# , iis 7.5
any help is appreciated
thank you