Your code worked for me, but the onchange="javascript:callFill();" can be shorted to onchange="callFill();"
-----Original Message----- From: Todd [mailto:[EMAIL PROTECTED] Sent: Thursday, May 03, 2007 4:59 PM To: CF-Community Subject: javascript help Since someone asked about HTML, I figured I would ask about a javascript issue that is driving me nuts I have a select box that has this: <select name="my_genre" id="my_genre" tabindex="20" onchange="javascript:callFill();"> In the javascript block I have this: <script type="text/javascript"> function callFill() { alert('hi'); } </script> When I change the seelect box, I keep getting the 'expected object' javascript error. I .. dont' get it. PT ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:233868 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
