When I load the page, no javascript errors..

When I type something in the box, I get a "employ is not defined"..
Yes it is... it's right freakin there. :)

I realize I must be missing something obvious... Any ideas?

<script type="text/javascript">
function employ()
        {
        xmlHttp=GetXmlHttpObject()
        var url="index.cfm?fuseaction=Register.CheckRecord";
        url=url+"&Name="+document.getElementById("name").value;
        url=url+"&Address="+document.getElementById("address").value;
        url=url+"&city="+document.getElementById("city").value;
        xmlHttp.onreadystatechange=stateChanged;
        xmlHttp.open("GET",url,true);
        xmlHttp.send(null);
        }
</script>

<form action="index.cfm?fuseaction=Register.ProcessResults"
method="post" name="theform">
     <input type="text" name="EmployerName" id="name" onkeyup="employ();">
</form>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304332
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to