You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2006/03/23 10:05:22 UTC
[DAISY] Created: My form contains references to javascript
functions that are not defined, how do I fix this?
A new document has been created.
http://cocoon.zones.apache.org/daisy/documentation/1065.html
Document ID: 1065
Branch: main
Language: default
Name: My form contains references to javascript functions that are not defined, how do I fix this?
Document Type: FAQ
Created: 3/23/06 9:05:07 AM
Creator (owner): Bruno Dumon
State: publish
Parts
=====
Content
-------
Mime type: text/xml
Size: 552 bytes
Content:
<html>
<body>
<p>When you publish a CForm through the default CForms XSLs, you'll notice that
it contains references to javascript functions such as <tt><body
onload="forms_onload();"></tt>.</p>
<p>If these don't work, because the scripts are not defined using
<tt><script></tt> in the HTML page, then this is likely because the input
you supply to the CForms XSLs is missing a <tt><head></tt> element. The
CForm XSLs will add the script (and CSS) references when they encounter a
<tt><head></tt> element.</p>
</body>
</html>
Fields
======
Tags: forms
Collections
===========
The document belongs to the following collections: documentation