TM Billing System Doesn’t Support Firefox

Huh! Have you try to use TM Billing System with Firefox? Yeah! It doesn’t works well on Firefox. When trying to view my latest bill statement, it gives me error (looks like no action at all).

Grrr… Then, with a power of Firefox, I use Firebug Extension to debug it. The debugger shows a message “invoiceObject is not defined“. As expected, javascript problem.

Screenshot-MCM&B Selfcare - View Invoice - Firefox

When looking at the source code:

A suggestion to fix this is to replace

invoiceObject.value

WITH

document.getElementsByName(’invoiceObject’)[0].value

getElementsByName are specifically designed for fast and efficient dynamic object property changes from JavaScript. The sweetest part of it is, these methods will not only go dig up all the tags with a certain name attribute or tag name, they’ll slap them into convenient arrays for us. Now, that’s service!

I believe this fix should works with all browser. TMnet, please modify the code to make the system firefox friendly.

Leave a Reply