Well, can they? Like jQuery using a fadeIn function for something on a C++ app, can it work?
I think you are confused about what runs where.
jQuery usually requires a browser with a Document Object Model to run.
While this is something a C++ application could probably, theoretically, provide somehow, it's not really practical.
You want to investigate UI and effects libraries native to C++ rather than JavaScript libraries.
What do you want do achieve and most importantly, on what platform?