JavaScript

If you want to change a regular scribble widget into an inline scribble widget through JavaScript, you have to use the DEFAULTCHECKED attribute. For example:

if (myForm.jot1.defaultChecked) 
    myForm.jot1.defaultChecked = false; 
else 
    myForm.jot1.defaultChecked = true;