I want to strip the image tags from a variabele.
This to use it in a rollover javascript.
I made 4 image TV’s.
I my template is a javascript for the rollover funtction.
The image string has to be stripped from the tags, so i can use it in the javascript.
Example:
<img src="assets/images/Amsterdam/ouwezijds/ouwezijds.jpg" id="tumbnail" />
To:
assets/images/Amsterdam/ouwezijds/ouwezijds.jpg
I tried PHX extension striptags but stil not working.
The javascript is in the HTML template of my page
So it tried this [*afbeelding2:striptags*] and [+afbeelding2:striptags+]
http://wiki.modxcms.com/index.php/PHx/CustomModifiers#phx:striptags
Please can anybody help me out?
I got stuck in this!!
Wim
the Netherlands