Changeset 4794

Show
Ignore:
Timestamp:
08/21/06 16:29:27 (2 years ago)
Author:
renatoformato@…
Message:

IE says that attributes are like properties. The only way to access an attribute if a property with the same name exists is by element.getAttributeNode('attr').nodeValue

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • _plugins_/-jQuery/form.js

    r4788 r4794  
    4848 
    4949        var f = this.get(0); 
    50         var url = url || f.getAttribute('action') || ''; 
    51         var mth = mth || f.method || 'POST'; 
     50        var url = url || f.getAttributeNode('action').nodeValue || ''; 
     51        var mth = mth || f.getAttributeNode('action').nodeValue || 'POST'; 
    5252 
    5353        if (target && target.constructor == Function)