What is the proper method to set the focus to a specific field within a dynamically loaded DIV?
$(\"#display\").load(\"?control=msgs\"); // loads the HTML in
$("#display").load("?control=msgs", {}, function() { $('#header').focus(); });
i tried it but it doesn't work, please give me more advice to resolve this problem. thanks for your help