ad a javascriptcode to a field end run it.

7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 9, 2012   (RSS)

Re: [Maurice] ad a javascriptcode to a field end run it.

By gkornbluth - April 9, 2011

hi Maurice,

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
The first CMS Builder reference book is now available on-line!







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

that was just the post sorry

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

Hi all,

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

Hi Maurice,

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!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] ad a javascriptcode to a field end run it.

By Maurice - April 13, 2011

thnx Dave.

cool
-------------------------------------------

Dropmonkey.nl

Re: [Dave] ad a javascriptcode to a field end run it.

By Mikey - June 9, 2012

Just what I was looking for! Thanks Dave!