Hi,
Got the following code, which loads some html into a div, then set's the focus to a textbox:
- function editPlanning(id) {
- $('#editor').load('_edit_planning.aspx?plan_id=' + id, function() {
- $("[id$='TextBoxPlanApplication']").focus();
- });
- }
This works fine with 1.4.2, but with 1.4.3 I get an error in jquery-1.4.3.js using Firebug:
handler is undefined
Line 1797
This happens on line 2 of the code
To me it looks as if the wrong .load method is being called, from the jQuery docs:
http://api.jquery.com/load/Note: The event handling suite also has a method named
.load()
. Which one is fired depends on the set of arguments passed.
I think the event .load method is being called because line 1797 in jquery-1.4.3.js
- if ( handler.handler ) {
and comments around it talk about binding events to objects etc.
Can anyone confirm this is the case, or something else is causing the error with 1.4.3
Cheers,
Mike