Non string parameter for alert()
<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript">
function Application(Title, ProgramName, Path, Vendor) {
this.Title = Title
this.ProgramName = ProgramName
this.Path = Path
this.Vendor = Vendor
}
function displayApp() {
alert(Application)
}
</SCRIPT>
</HEAD>
<BODY>
<H1></H1>
<FORM>
<INPUT Type="button" Value="Display Object Definition" OnClick="displayApp()"
</INPUT>
</FORM>
</BODY>
Related examples in the same category