Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-12-28 04:00:45

dreamer
Member
Registered: 2007-06-08
Posts: 242

why do txp:article tag and javascript conflict?

I have the <txp:article></txp:article> tag wrapped around some javascript code in a form I built. It seems the code won’t work if the container tags are there, but will work when gone. Why is that? Unfortunately, I need the tags there to allow for some conditional statements to be applied to certain scripts.

Last edited by dreamer (2009-12-28 04:01:04)

Offline

#2 2009-12-28 06:17:08

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: why do txp:article tag and javascript conflict?

Is the code being duplicated for more than one article and producing invalid javascript?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB