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

Hi all,

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

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: [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!