Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- initialize:function(form){ if(Jsx.Form.extended(form)) return;
- this.anchor=form.addEvent('submit',this.submit.bind(this));
- form.getElements('input[type=image]').addEvent('click',function(event){
- //need to have a refenrence to the 'this' context from outside this sub-function
- anchor.getElement('input[name=
- this.name
- this.submit.bind(this);
- });
- },
Add Comment
Please, Sign In to add comment