Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Enable simple client side scripting in .html file with IIS?

$
0
0

I need to build a simple application on an IIS server (running Windows Server 2012 R2 and IIS8), but have little experience using IIS and am having trouble finding anything that tells me how to do the simple task I need. 

So far I've been able to setup the server side PHP and MySQL I need, but I need a little bit of client-side scripting in my index.html file. So if I were to use this simple bit of sample code in a .html file:

<HTML><HEAD><TITLE>Test Button Events</TITLE></HEAD><BODY><FORM NAME="Form1"><INPUT TYPE="Button" NAME="Button1" VALUE="Click"><SCRIPT FOR="Button1" EVENT="onClick" LANGUAGE="VBScript">
      MsgBox "Button Pressed!"</SCRIPT></FORM></BODY></HTML>

What do I need to configure to get a response when clicked? I've been trying to user either VBScript or Javascript, would prefer the latter but it's not that big a deal.


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>