Setting the src attribute of an IFrame to data:application/pdf;base64, isn\'t working for me, any ideas why?
Here\'s the .aspx markup
<%@ Page Languag
this way worked for me :
var oldsrc = $('.content-control-iframe').attr('src'); var newsrc = $('.content-control-iframe').attr('src').slice(8); $('.content-control-iframe[src="'+oldsrc+'"]').attr('src', newsrc);