Dear Friendzz,
Problem to getting dynamic values in Javascript.. Please Helpme
// Java Script
<script language="javascript">
function toggle(int) {
var ele = document.getElementById(int);
if(ele.style.display == "block") {
ele.style.display = "block";
}
else {
ele.style.display = "block";
text.innerHTML = "hide";
}
}
</script>
// HTML
<div class="reply">
<a id="{$msg['id']}" href="javascript:toggle(this);">Reply</a>
</div>
Thanks Inadvance