J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:jQuery code showing on front end (1 viewing) 
Go to bottom
TOPIC: Re:jQuery code showing on front end
#5149
Barbara Hill
Fresh Boarder
Posts: 4
User Offline
jQuery code showing on front end 4 Years, 1 Month ago Karma: 0  
this is showing just below the tabs on the detail page. not sure if it even has anything to do with the PayPal component. any ideas?

'; } jQuery('#default_item_price'.html(price + subscriptionDetails); } } function localiseCurrency(price) { var symbol = '$'; var code = 'USD'; var name = 'US Dollar'; var decimals = '2'; var thousands = ','; var separator = '.'; price = price.toFixed(decimals); var price_split = price.split('.'; var main_price = price_split[0]; var split_price = price_split[1]; main_price = main_price.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, "$1"+thousands); price = symbol+main_price+separator+split_price; return price; }
 
Logged Logged  
  The administrator has disabled public write access.
#5150
John Dagelmore
Admin
Posts: 3557
User Offline
Re:jQuery code showing on front end 4 Years, 1 Month ago Karma: 74  
This is the code in the default.php file. Ensure to have not edited and accidentally broken that PHP template file.

Other than that there are no reasons to show a js code in the page, unless some other Joomla plugin is manipulating the output breaking it.
 
Logged Logged  
 
Last Edit: 2016/06/20 10:57 By @store$eco#mm!.
  The administrator has disabled public write access.
#5153
Barbara Hill
Fresh Boarder
Posts: 4
User Offline
Re:jQuery code showing on front end 4 Years, 1 Month ago Karma: 0  
found it, I disabled RokBooster plugin and now everything is good. Thanks for your help, Barbara
 
Logged Logged  
  The administrator has disabled public write access.
Go to top