Changes between Version 3 and Version 4 of documentation/PythonManual/AttachingToEvents

Show
Ignore:
Author:
peterc (IP: 203.114.164.70)
Timestamp:
03/15/08 10:53:01 (9 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/PythonManual/AttachingToEvents

    v3 v4  
    2929{{{ 
    3030element = document.GetElementById('button') 
    31 element.AddEventListener('onclick', "print('Line 1');print('Line 2')", True) 
     31element.AddEventListener('click', "print('Line 1');print('Line 2')", True) 
    3232}}} 
    3333