View Single Post
  #18  
Old 08-01-2005, 03:49 PM
  HWT's Avatar 
HWT HWT is offline
 

eXpert
  
Join Date: Jan 2005
Location: Massachusetts, USA
Posts: 392
 

Default

techhead, Thanks for your reply.

I just figured out that what I had was a "whitespace error". I had a couple returns before and after the code, causing the errors. Now that that's solved, I'm getting a javascript error in this:

Code:
{* Borealis Media - the other half of this is in register.tpl*} {if $smarty.get.mode eq "update" } <tr><Td colspan="3" align="center"> {literal} <script language="JavaScript1.2"> function submitAlternateProfile(obj, func){ obj.createAltFunc.value = func; obj.action = 'createAlt.php'; obj.submit(); } </script> {/literal} </td></tr> {/if} {*/Borealis Media*}

the error is:
Code:
Object doesn't support this property or method

the error is referring to the line:

Code:
obj.action = 'createAlt.php';

I have chmoded createAlt.php to 777 w/ no change. The javascript is in {literal} {/literal} tags in the .tpl

Any ideas?
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10
Reply With Quote