[TYPO3-templavoila] replace register:tx_templavoila_pi1.parentRec.uid inside JavaScript

strategie und vision | Norbert Huber huber at strategie-und-vision.de
Wed Feb 6 16:51:35 CET 2008

Hi all,

got a problem with replacing the register variable  
{register:tx_templavoila_pi1.parentRec.uid} inside a TEXT object with  
stdWrap.insertData. Because of the curly braces from the JS function  
and the {register:tx_templavoila_pi1.parentRec.uid}  the stdWrap  
Funktion gets confused.

Is there a way to escape the curly braces from the JS. I allready  
tried backslash.

here is the code


10 = TEXT
10.value = (
<script type="text/javascript">

window.addEvent('domready', function(){
	var mySlide = new Fx.Slide('togglecontent_ 
	// needed for display none
('click', function(e){
		e = new Event(e);

10.stdWrap.insertData = 1

thank you for every hint.

More information about the TYPO3-project-templavoila mailing list