bind/on lenna
This commit is contained in:
parent
53966f3f53
commit
9d391e4c13
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ Ox.load('Image', function() {
|
||||||
Create some DOM elements.
|
Create some DOM elements.
|
||||||
*/
|
*/
|
||||||
var $body = Ox.$('body'),
|
var $body = Ox.$('body'),
|
||||||
$select = Ox.$('<select>').bind({change: change}).appendTo($body),
|
$select = Ox.$('<select>').on({change: change}).appendTo($body),
|
||||||
$image = Ox.$('<img>').attr({src: image.src()}).appendTo($body);
|
$image = Ox.$('<img>').attr({src: image.src()}).appendTo($body);
|
||||||
|
|
||||||
[
|
[
|
||||||
|
@ -87,4 +87,4 @@ Ox.load('Image', function() {
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue