Hey,
I'm not quite sure if it's a bug. Anyways I'm experiencing the following behavior:
- var _new_li = $('<li/>', {
- 'id': 'p',
- click: function(){
- alert('fired');
- },
- data: {
- 'somedata': 'somedata',
- }
- }),
If I use that order, event (click) before data, I receive an exception on click.
"
e is undefined" or "
events is undefined".
If I switch the order, data before click, works just fine.
Kind Regards
--Andy