Hi,

might be unrelated, but add the following DOCTYPE at the very top of your
TML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

-Borut

2010/12/22 Gunnar Eketrapp <[email protected]>

> Hi!
>
> I am in the process of adding some jquery-ui controls.
>
> For testing purposes I added a javascript section in my TML file but I then
> got errors like ...
>
> Failure parsing template classpath:utskicket/pages/group/SelectMembers.tml:
> The entity name must immediately follow the '&' in the entity reference
>
> 43 }44 45 jQuery( "#tags" )46 // don't navigate away from the field on tab
> when selecting an item47 .bind( "keydown", function( event ) {48 if (
> event.keyCode === $.ui.keyCode.TAB &&49 $( this ).data( "autocomplete"
> ).menu.active ) {50 event.preventDefault();51 }52 })53 .autocomplete({
>
>
> So my question is can I insert a bigger chunk of javascript and tell T5 not
> to parse it !?
>
> Or do I have to move it to a separate .js file !?
>
> Btw T5 rocks!
>
> Thanks in Advance,
> Gunnar Eketrapp
>

Reply via email to