I'm getting some 404 errors on image paths in this plugin I'm building.
Sure, I can specify something like...
jQuery('#test').css('background','transparent url(wp-content/plugins/myplugin/closer.png) 0 0 no-repeat');
...but the wp-content/plugins/myplugin/closer.png path is unreliable in some ways that people setup their blogs.
What's the technique to get my front-end jQuery component to load these images without 404 errors and without hard-coding a path? I mean, does WordPress automatically inject some kind of path global constant in jQuery that I can pick up and use?