Hi all,
My prob in brief:
I am validating a registration form with server side using php and its working fine.
Now my prob is i need to show the error message using thickbox like popup.
Is that possible. If yes please explain how?
thanks in advance
Code:
<script type="text/javascript" src="thickbox/jquery-latest.js"></script>
<script type="text/javascript" src="thickbox/thickbox.js"></script>
<link href="thickbox/thickbox.css" rel="stylesheet" type="text/css" />
<span class="prtexterror" style="color:#FF0000;display:none;" id="hiddenModalContent" >{$error_login}</span>
{literal}
<script language="javascript" type="text/javascript">
$(document).ready(function() {
tb_show("Please, login", "?tb_inline=true&inlineId=hiddenModalContent&height=180&width=300&modal=true", null);
});
</script>
{/literal}