This property controls whether or not EditLive! gains input focus when it finishes loading.
Syntax
JavaScript
editliveInstance.setFocusOnLoad(bInFocusOnLoad);
ASP.NET - EditLiveJava Tag
prefix:EditLiveJava FocusOnLoad = bInFocusOnLoad
Parameters
bInFocusOnLoad
A boolean value indicating whether or not EditLive! gains input focus when it finishes loading.
In Javascript, this value defaults to false for normal editing and true for inline editing.
The ASP.NET control defaults to false for both editing modes.
Examples
The following example demonstrates how to cause EditLive! to automatically appear in a popout window with an associated button in the browser for showing and hiding the window.
JavaScript
var editlive_js; editlive_js = new EditLiveJava("ELApplet1","700","400"); ... editlive_js.setFocusOnLoad(true);