Get path to CGridView images from external javascript

175 Views Asked by At

I have an external js file, where I manually add a row to the table generated by CGridView.

My question is how to pass the path to the images in CButtonColumn (like the update or delete button)? I dont want to use the fixed path, cause when I move it to another server it may result in wrong paths (assets folder may change right?).

0

There are 0 best solutions below