Bug Tracker

Custom Query (13852 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (25 - 27 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#2141 wontfix Make shortcut syntax for the focus and the blur event DarkAngelBGE
Description

Possible usage:

$obj.focus(

function() {}, for focus event function() {} for blur event

);

Something like:

(function($) {

var _focus = $.fn.focus; $.fn.focus = function(focus, blur) {

_focus.call(this, focus); if (blur) {

this.blur(blur);

}

};

}(jQuery));

not tested

This is really like the .hover(callback, callback) thing :)

#2149 invalid jQuery Ajax form submisssion doesnt work in IE davidserduke
Description

Reported by sinanduman on the Google issues board and moved here.

What steps will reproduce the problem?

// prepare the form when the DOM is ready 
$(document).ready(function() { 
    var options = { 
        target:        '#output',   // target element(s) to be updated 
with server response 
        // beforeSubmit:  showRequest  // pre-submit callback 
        success:       selectBox  // post-submit callback 
    }; 
 
    // bind to the form's submit event 
    $('#converter').submit(function() { 
        // inside event callbacks 'this' is the DOM element so we first 
        // wrap it in a jQuery object and then invoke ajaxSubmit 
        $(this).ajaxSubmit(options); 
        // !!! Important !!! 
        // always return false to prevent standard browser submit and page 
navigation 
        return false; 
    }); 
}); 
 
 
// post-submit callback 
function selectBox(responseText)  {
	document.converter.output.value=responseText;
	document.converter.output.focus();
	document.converter.output.select();
}

What is the expected output? What do you see instead?

It is OK in Opera and FF but not IE. It is expected that responseText would be in #output text box.

What version of the product are you using? On what operating system? jQuery last version, 1.1.3.1, Internet Explorer 7, Windows Vista Home Basic Edition

Please provide any additional information below. I am using jQuery with jQuery Form plug-in. Delete comment Comment 1 by fspiesser, Dec 21, 2007 Same problem with version 1.2.1 (IE7, XP Pro). Works well in 1.1.2

#2150 fixed Add scope to dynamically created element davidserduke
Description

Originally reported by yun.wang, Aug 20, 2007 on the Google Issues forum

What steps will reproduce the problem?

  1. For multi-frame website, dynamically created element via $("<div

class='test'></div>") only works in that document. If I create it from a different frame, IE won't allow this newly created element being moved to another frame.

  1. Is it possible to add a scope to this and make the syntax like this:
  1. $("<div>test</div>", window.document).appendTo(...

What version of the product are you using? On what operating system? 1.1.3.1 on IE7, WINXP

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.