View Single Post
  #13  
Old 10-25-2015, 11:50 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

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

Default Re: customizing orders_list with colors

Hello Scott,

Did you try to use the microhandlers function? I believe it does exactly what you need - it looks for the specified jQuery selector after every page load / ajax reload and triggers the given JavaScript function over the found element.

Just make sure that you load your .js file with your code through getJSFiles() method of the PHP class that handles the widget that you need.
__________________
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