view
Status code is 200 OK
Mime type is text/html
Header is HTTP/1.1 200 OK
Content-Type: text/html; charset=UTF-8
Connection: close
Date: Fri, 30 Jul 2010 21:33:25 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Content is <script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
<!--
function _CF_checklight(_CF_this)
{
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;
//display error messages and return success
if( _CF_error_exists )
{
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }
}
return false;
}else {
return true;
}
}
//-->
</script>
If the machine is running, it will increment the number in the form field.<br>
<form name="light" action="light.cfm" method="post" onsubmit="return _CF_checklight(this)">
Check: <input name="check" id="check" type="text" value="9" />
<input name="doit" type="submit" value="Now">
</form>
returned value is 9