Opera getAttribute(”action”) bug

Today I tested our admin framework under Opera 9.0 and realized that I can’t delete records. We use an image - a big red X - where we use custom attribute, which is actually an action attribute that has “delete” value. This is our javascript trigger.

Under Opera this method fails because getAttribute(”action”) returns invalid value, it returns “http://www.foobar.hu/delete” instead of simply returning “delete”…

It’s like getAttribute href bug by Glenn Jones

Here is a self-explanatory example page.

One Response to “Opera getAttribute(”action”) bug”

  1. AKS Says:

    Browsers use different (various) engines (if you did not know it ;) ). Therefore never hope for identical results. Instead of it rely on the experience, yours or someone’s!