I think you should use the 'load' event helper.Something like this:
var iframe = document.getElementById('iframe_id);
$(iframe).load(function() {
// here you can manipulate the iframe content
var doc = iframe.contentDocument;
$('#someDiv', doc).click(function() {
// code here
Hi everybody,
I have the next silly problem:
$(myobject).bind('myevent', function() {
var anotherobject = new MyCustomObject();
$(anotherobject).bind('anotherevent', function() {
// code here
});
});
and then I write these two lines:
$(myobject).trigger('myevent');
$(myobject).trigge
2 matches
Mail list logo