I've got a page with several iframes that are added by the end user via a cms. I need to append a query string (exactly the same to all iframes) to the end of the iframe source and am stuck on how to proceed.
My current code is here where .frame-wrap is a container around all iframes:
$(document).ready(function() {
var hideLinkHeader = '?hideLink=true&hideHeader=true';
var url = cannot figure out how to set this for each iframe
$('.frame-wrap').find('iframe').attr('src', url + hideLinkHeader);
});
Any help is greatly appreciated.
urlsupposed to be? The original source?