JS gevorderde |
|
brrr...
Js code in je <head>, Functies eindigen met () ->
Fout: missing ( before formal parameters
Bronbestand: file:///C:/demich.html
Regel: 46, Kolom: 28
Broncode:
function picChange1{ document.getElementById('vraag3').style.display = 'none'
Fout: missing ( before formal parameters Bronbestand : file:///C:/demich.htmlRegel: 46, Kolom: 28 Broncode: function picChange1{ document.getElementById('vraag3').style.display = 'none'
een string mee geven wanneer die niet in de functie klopt ook niet...
dus :
<head><script type='text/javascript'>
<!--
function picChange() {
document.getElementById('teVerstoppen').style.visibility = 'hidden';
document.getElementById('LatenZien').style.visibility = 'visible';
}
//-->
</script><head>
<head><script type='text/javascript'> <!-- function picChange() { document.getElementById('teVerstoppen').style.visibility = 'hidden'; document.getElementById('LatenZien').style.visibility = 'visible'; } //--> </script><head>
<body>
.......
<input type='radio' name='whatever' value='Neen' onclick='Javascript:picChange();' />
<body> ....... <input type='radio' name='whatever' value='Neen' onclick='Javascript:picChange();' />
|