Changeset 19812

Show
Ignore:
Timestamp:
09/24/08 17:30:08 (5 years ago)
Author:
zigorou
Message:

Fixed js error

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/exdomstorage/trunk/sample/sample.js

    r19810 r19812  
    3434          rm_a.href = "javascript:void(0);"; 
    3535          rm_a.innerHTML = "remove"; 
    36           rm_a.attachEvent("onclick", function() { 
     36          attach(rm_a, "click", function() { 
    3737                storage.removeItem(key); 
    3838          });