>
>> Hello,
>>   I can't seem to be able to create a JXTemplateGenerator .jx file  
>> that contains javascript without getting mal-formed xml errors  
>> because of (for example) less than (<) symbols in the javascript  
>> itself.  I've tried linking to a javascript file too using the  
>> <script> tag, but that doesn't work either for various reasons.
>
>Really, external scripts aren't working for you?  Why not?
I think the main reason was I couldn't figure out how to  correctly point to 
where the script was.  I kept getting file not found errors in the output.
>
>>  What is the best way to create a jx page that itself contains  
>> javascript?
>
>
>       <![CDATA[
>               // Your client-side Javascript here
>       ]]

I tried this, but if there are any angle brackets (i.e. less than or greater 
than) in the javascript, the javascript doesn't work, Firefox doesn't recognize 
it as javascript code.  If I get rid of the angle brackets, the script works 
with or without the CDATA.

On Monday, October 06, 2008, at 07:14PM, "Mark Lundquist" <[EMAIL PROTECTED]> 
wrote:
>
>No worries about the multiple posts ;-)
>
>However, please do start new topics with a new post; using "reply"  
>screws up threading in mailreaders.
>
>Anyhow...
>
>On Oct 6, 2008, at 12:56 PM, Jeff Schmitz wrote:
>
>> Hello,
>>   I can't seem to be able to create a JXTemplateGenerator .jx file  
>> that contains javascript without getting mal-formed xml errors  
>> because of (for example) less than (<) symbols in the javascript  
>> itself.  I've tried linking to a javascript file too using the  
>> <script> tag, but that doesn't work either for various reasons.
>
>Really, external scripts aren't working for you?  Why not?
>
>>  What is the best way to create a jx page that itself contains  
>> javascript?
>
>
>       <![CDATA[
>               // Your client-side Javascript here
>       ]]>
>
>cheers,
>?ml?
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to