This property sets the cookie that Ephox EditLive! for Java is to use when active.
JavaScript object.setCookie(strCookie)
strCookie Required. A string containing the value that EditLive! for Java is to use as a cookie.
The following code creates an instance of EditLive! for Java and sets it to use the string document.cookie as the cookie when active.
var editlivejava1;
editlivejava1 = new EditLiveJava("ELJApplet1","600","400");
editlivejava1.setCookie("document.cookie");
The value used to set the setCookie property must be valid JavaScipt. It is recommended that the value of "document.cookie" be used.
Copyright © 2001-2004 Ephox Corporation. All Rights Reserved.