Trouble calling Javascript from within a scriptlet

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Trouble calling Javascript from within a scriptlet

Post by macromark » Tue Mar 22, 2011 6:54 am

I'm trying to add a javascript call to a scriptlet but it's not working. It works find from an HTML page but not from a scriptlet.

This is the format: <script type="text/javascript" src="http://www.targetdomainname.com/service ... "></script>

Is there a way from me to run this from within a scriptlet?

TIA,

Mark

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Trouble calling Javascript from within a scriptlet

Post by mazhar » Tue Mar 22, 2011 6:57 am

Try this

Code: Select all

<script language='javascript' type='text/javascript' src='http://www.targetdomainname.com/services/ctva/?o=js&s=mydomain.com'></script>

macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Re: Trouble calling Javascript from within a scriptlet

Post by macromark » Tue Mar 22, 2011 10:34 am

Thanks but that did not work.

Here is the exact code that works under HTML: <script type="text/javascript" src="http://www.cocoontech.com/services/ctva ... "></script>

It displays a logo on the page.

macromark
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 30
Joined: Fri Feb 18, 2011 2:39 pm

Re: Trouble calling Javascript from within a scriptlet

Post by macromark » Wed Mar 23, 2011 3:02 pm

anyone?

Post Reply