Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Custom JS can't take HTML code?

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-31-2016, 01:13 PM
 
vraj123@yahoo.com vraj123@yahoo.com is offline
 

Member
  
Join Date: Jun 2010
Posts: 27
 

Default Custom JS can't take HTML code?

If you write in "custom javascript" it does not take HTML code
for example $.innerclass.append("<strong>Hello</strong>");

the x-cart 5 removes HTML and just display Hello!
Does any one has solution? to add HTML code in custom js?
__________________
i am using New PHP and MYSQl i=on new server... the problem is FRENCH is not working properly .. can anyone help?? also if i want to upgrade my licence version of X cart to new one... how can i do that keeping same layout and DB.. my store is very very busy
Reply With Quote
  #2  
Old 02-07-2016, 10:49 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom JS can't take HTML code?

I've reported this to the XC5 team:
https://bt.x-cart.com/view.php?id=45671

Please follow the ticket for updates.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 02-07-2016, 10:52 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom JS can't take HTML code?

While the team is working on the issue you may also consider this method of adding a custom JavaScript code:
http://kb.x-cart.com/display/XDD/Adding+CSS+and+JS+files
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:18 PM.

   

 
X-Cart forums © 2001-2020