Open page in iframe-widget with javascript

I don’t think AxQuery objects have an openLink method, where did you find that? I don’t think that’s correct.

Anyway, you don’t need AxQuery, good old jQuery will do just fine:

$('iframe').attr('src','http://www.axure.com')

That assumes you only have one iframe. If you have multiple and have named it, use this instead:

$('[data-label=name] iframe').attr('src','http://www.axure.com')
1 Like