No alert

Please can someone tell me what I’m doing wrong in this script so I can better understand it because according to me it is correct but if you click the button no alert is shown

[php]

Javascript Bible Chapter 9 Select your favorite stooge: Moe Larry
Curly
[/php]

Any help is appreciated

Hi,

I changed your ‘submit’ button to a regular button, to prevent the form from posting back (and effectively reloading the page).

Now FireBug immediately told me what the issue was:
ReferenceError: fulName is not defined

It’s simply a typo when calling function fullName()

Sponsor our Newsletter | Privacy Policy | Terms of Service