Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // there's some argument that I should just overload the change event handler
- // but I want to run it past a few 'jQueryians' first - IE does treat keyboard
- // navigation, i.e. selecting the radio element as a click...bizarre - but useful.
- $.fn.radioChange = function (fn) {
- return this.each(function () {
- if (!$.browser.msie) {
- $(this).change(fn);
- } else {
- $(this).click(fn);
- }
- });
- };
Add Comment
Please, Sign In to add comment