Probably means the getElementById() method is returning NULL. Try getting that DOM object first (before calling .value on it) and alert it to make sure that it is valid.
....................... Ben Nadel www.bennadel.com -----Original Message----- From: Damien McKenna [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 5:11 PM To: CF-Talk Subject: OT: JS failing in IE I've written this custom JS function to update some totals on a page when a selector is changed, anyone have any ideas why it would work in Firefox and Safari but not IE6? aCase = 180; cases = document.getElementById('count_cases').value; total_cases = (cases * aCase); document.getElementById('total_cases').innerHTML = total_cases; IE gives an error saying: Object doesn't support this property or method and points to the cases= line. Any thoughts folks? Thanks. -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include <stdjoke.h> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:242684 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

