Interfacing to Plugin from JavaScript


CDPHelperAppSimple can be used by JavaScript to access the interfaces exported by the plugin.

With the APPLET and EMBED tags on the previous pages, it's used like this:

	function GetStruct(theForm)
	{
		theForm.structure.value = document.Fred.getData(0);
		theForm.submit();
	}
	function Clear(theForm)
	{
		theForm.name.value = ""
		theForm.structure.value = "";
		document.Fred.clear();
	}
prev / next / start / index