Re: Repeater Using Javascript
От: Clickmaker Россия http://relaxander.webest.net/
Дата: 26.11.10 11:18
Оценка:
<asp:CheckBox runat="server" onclick='<%# string.Format("ShowHideLabel('{0}');", ((Control)Container).FindControl("EnabledLabel").ClientID) %>' />

<script type="text/javascript">
function ShowHideLabel(ctlId) {
if (ctlId.style.display == 'none')
ctlId.style.display == 'block';
else
ctlId.style.display == 'none';
}
</script>
 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.