Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<style type="text/css">
input.prompt {border:1 solid transparent; background-color:#99ccff;width:70;font-family:arial;font-size:12; color:black;}
td.titlebar { background-color:#2b765F; color:#0000D2; font-weight:bold;font-family:arial; font-size:12;}
table.promptbox {border:1 solid #ccccff; background-color:#FFFFE6; color:black;padding-left:2;padding-right:2;padding-bottom:2;font-family:arial; font-size:12;}
input.promptbox {border:1 solid #0000FF; background-color:white;width:100%;font-family:arial;font-size:12; color:black; }
</style>
<script language='javascript'>
var response = null
function prompt2(dftvalue, prompttitle, message, sendto) {
promptbox = document.createElement('div');
promptbox.setAttribute ('id' , 'prompt')
document.getElementsByTagName('body')[0].appendChild(promptbox)
promptbox = eval("document.getElementById('prompt').style")
promptbox.position = 'absolute'
promptbox.top = 100
promptbox.left = 200
promptbox.width = 300
promptbox.border = 'outset 1 #bbbbbb'
document.getElementById('prompt').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='100%'><tr valign='middle'><td width='22' height='22' style='text-indent:2;' class='titlebar'></td><td class='titlebar'>" + prompttitle + "</td></tr></table>"
document.getElementById('prompt').innerHTML = document.getElementById('prompt').innerHTML + "<table cellspacing='0' cellpadding='0' border='0' width='100%' class='promptbox'><tr><td>" + message + "</td></tr><tr><td><input type='text' value='" + dftvalue + "' id='promptbox' onblur='this.focus()' class='promptbox'></td></tr><tr><td align='right'><br><input type='button' class='prompt' value='OK' onMouseOver='this.style.border=\"1 outset #dddddd\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "(document.getElementById(\"promptbox\").value); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'> <input type='button' class='prompt' value='Cancel' onMouseOver='this.style.border=\"1 outset transparent\"' onMouseOut='this.style.border=\"1 solid transparent\"' onClick='" + sendto + "(\"\"); document.getElementsByTagName(\"body\")[0].removeChild(document.getElementById(\"prompt\"))'></td></tr></table>"
document.getElementById("promptbox").focus()
}
function myfunction(value) {
if(value.length<=0)
return false;
}
</script>
<script language='javascript'>
<!--
function callPrompt(){
var newduedate = "08/25/06";
prompt2(newduedate, 'Apply Due Date','Due date for invoices past due will be changed to', 'myfunction');
}
//-->
</script>
<td><input type="image" name="submit" value="f1" src="images/btn_submit_tracking.gif" border="0" onclick="callPrompt()"></td>
function callPrompt(){
[COLOR= red] var newduedate = '<%=newduedate%>'; [/color]
prompt2(newduedate, 'Apply Due Date','Due date for invoices past due will be changed to', 'myfunction');
}
function callPrompt(){
var newduedate = '<%=newduedate%>';
[COLOR=red] if (newduedate != '') [/color]
{
prompt2(newduedate, 'Apply Due Date','Due date for invoices past due will be changed to. (use mm/dd/yy format)', 'getvalue');
[COLOR=red] } [/color]
}
<% if (newduedate = "") then %>
<td><input type="image" name="submit" value="f1" src="images/btn_submit_tracking.gif" border="0" >
<% else %>
<td><input type="image" name="xsubmit" value="f1" src="images/btn_submit_tracking.gif" border="0" onclick="callPrompt();return false;"></td>
<% end if %>
function callPrompt(){
var newduedate = '<%=newduedate%>';
if (newduedate != '')
{
prompt2(newduedate, 'Apply Due Date','Due date for invoices past due will be changed to. (use mm/dd/yy format)', 'getvalue');
}
else
{
document.forms[0].submit();
}
}