I've tried and looked etc.. can you see what is wrong with the following:
Here is the code in the registeradult template:
<script language="Javascript">
<!--
if (document.images.avatarpic != null) {
document.images.avatarpic.src = document.forms[0].avatarsel[document.forms[0].avatarsel.selectedIndex].value;
}
// -->
</script>
</body>
</html>
When I go to register.php and right click for show code on that page in the browser... everything is there. I get no error in PHP Editor when debugging register.php...
I get this error when entering the registeradult template in the browser:
document.forms.O.avatarset. SelectedIndex is NULL or not a object
(IEs debugging does not tell me what is wrong.. only where = yellow error is placed on the lines above).... coding above also match the original files in vbulletin.
Thanks
|