ad a javascriptcode to a field end run it.
7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 9, 2012 (RSS)
By Maurice - April 9, 2011
a created e textbox and I want to be able to place a javascript code in it but it dus not run when i publish can it be done ???
code like
<script type="text/javascript" code in here</script>
Greetz M
Dropmonkey.nl
Re: [Maurice] ad a javascriptcode to a field end run it.
By gkornbluth - April 9, 2011
What does the javascript code look like in the source code of the resulting web page?
How does that compare with a working version of the javascript on the page?
Did you leave out the a > after the <script type="text/javascript" or was that just in the post?
Jerry Kornbluth
Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php
Re: [gkornbluth] ad a javascriptcode to a field end run it.
By Maurice - April 13, 2011
but the code is a affiliate code and thats most of the time Javascript.
but sometimes is works and sometimes it wont.
Greetz Maurice
Dropmonkey.nl
Re: [Maurice] ad a javascriptcode to a field end run it.
By Maurice - April 13, 2011
I found the problem cmsb ads the <br> html code inside the textbox.
how can i prevent this
thnx
Dropmonkey.nl
Re: [Maurice] ad a javascriptcode to a field end run it.
By Dave - April 13, 2011
In the field editor under Advanced Options check this:
[X] Disable auto-formatting (don't add break tags to content)
Note that you'll need to go back and update any fields that have already been saved with break tags.
Hope that helps!
interactivetools.com
Re: [Dave] ad a javascriptcode to a field end run it.
By Maurice - April 13, 2011
cool
Dropmonkey.nl
Re: [Dave] ad a javascriptcode to a field end run it.
By Mikey - June 9, 2012