Non string parameter for alert() : Dialog : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Dialog »

 

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>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Dialog