How to get client ID of Literals in javascript..

Posted by Oswaldlily under JavaScript on 9/29/2011 | Points: 10 | Views : 1739 | Status : [Member] | Replies : 1
How to get client ID of Literals in javascript..
document.getElementById('<%=literals1.ClientID %>');

Is it correct??




Responses

Posted by: Jpchoudhari on: 9/29/2011 [Member] Starter | Points: 25

Up
0
Down
yes that is correct method to find server control in javascript
The expression inside <%= %> will be executed and displayed as and when it appears in the page.

Kind Regards,
Jay

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response