|
-
Sep 30th, 2008, 03:14 AM
#1
Thread Starter
Addicted Member
How get contentplaceholder id using javascript
Hi friends
I need to get contentplaceholder id and assign to the variable. But i can't take
contentplaceholder id using javascript. In alert message it gives null.This is my
Code..
function ShowContentOne()
{
var elemId=document.getElementById('<%=ContentPlaceHolder2.ClientId%>');
elemId.style.display='block';
elemId.style.visibility='visible';
}
I hope ur's reply.
Thanks
Failing to plan is Planning to fail 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|