Is there any way to make a force.com site write JavasScript only?
I have the following which ALMOST gets me what I want, but there's I still get the <head>
tag as part of the document. Is there a way to remove that <HEAD>
tag?
<apex:page showHeader="false"
sidebar="false"
controller="custom_controller"
standardStylesheets="false"
applyBodyTag="false"
applyHtmlTag="false"
docType="html-5.0"
>
<script type="text/javascript">
<apex:repeat value="{!events}" var="event">
document.write('<li><apex:outputText value="{!event.name}"></apex:outputText></li>');
</apex:repeat>
</script>
</apex:page>
<script>
tag but the repeater is emitting HTML. – Mike Chale Dec 9 '13 at 17:52document.write
calls in it. – sfdcfox Dec 9 '13 at 18:50