what kind of element is count_cases?  just one element with that ID?

could you post some more of the code?

On 6/6/06, Damien McKenna <[EMAIL PROTECTED]> wrote:
> 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:242685
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to