View Single Post
  #3  
Old 01-30-2008, 06:16 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: javascript error on register.tpl

Thanks for your reply balinor. Found the problem. It wasn't register.tpl or any other registration template. It was the button.tpl template. I wanted to get rid of the whole ridiculous table in table in table... in button.tpl so I replaced it with a <div> and <a> tags. Originally there was onclick="{$js_link}" statement which I changed to href="{$js_link}" and put it in the <a> tag. Well apparently x-cart didn't like that. When I moved it to the <div> tag as onclick="{$js_link}" it worked. I don't like it much like this but if that's the way to make it work...
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote