Error in sc_change_css Macro

The sc_change_css macro works OK, BUT it throws up a

Uncaught ReferenceError: $ is not defined

error in the console. (Dozens of them as you use in in onRecord!)

When you look at the generated code, it looks like the sc_change css macro puts its code at the very top of the grid… even before jQuery is loaded… hence the error.

I’ve gotten round it by adding a manual link to a jquery source in the application init event, but this is not a good solution as the standard jQuery in prod(I think) should be called.

For other uses, I’ve avoided it altogether and gone straight to a css hack!

Can you post the CSS code?
Thanks

Sorry, this was almost a year ago. I don’t recall the details. However, If you let me know what you are trying to do with CSS I can try and help … Im not an expert, but use css quite often in Scriptcase.

It was just for completeness.
My mistake was that I only saw your solution after a long time.
Thanks for the reply, anyway.