Possible Duplicate:
How to get asp.net client id at external javascript file
 var table = new Table { CssClass = "Table", ID = "MYTable" };
In the Javascript File Iwant to get the table ID which is like
'ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_MYTable. 
How to get this Id in javascript.