Maybe the title is a little misleading and question could be too, but I'm curious, how would one work with jQuery from an internal (same host/domain) iframe without re-linking to jQuery's source in iframe's loaded HTML.
Well, I'm able to access it with parent.jQuery();, but whenever I'm trying to manipulate elements with it, it works in parent frame not the current, active one.
Iframe is generated with ColorBox v.1.3.16.
Here is what I've tried so far, with no luck at all.. (this comes from within iframe):
jQuery = parent.jQuery;
jQuery(document).ready(function(){
    jQuery('#time-bar .slider', document).css({ 'background-color' : 'blue', 'left' : '-99%' });
});
I've used document as a parent selector here, but it doesn't work, and I have no idea what should be used there.
Thanks in advance!
EDIT:
Derived from T.J. Crowder:
parent.jQuery(function($) {
    var element = $("#time-bar", document);
    console.log(element);
});
console.log() returns an empty object, or actually, have no idea if it can be called an object: [].
 
     
     
    