Could you please let me know where I have to correct the statement.
$(function(){
$('#buttonclick').click(function(){
// if(!$('#iframe1').length) {
$('#submitbutton').html('<iframe id="iframe1" src="{{ url_for('stream') }}" frameborder="0" style="overflow:hidden;width:100%" width="100%" frameborder="0" scrolling="no" onload="resizeIframe(this)"> </iframe>');
// }
});
});
{{ url_for('stream') }}with something? Please tag with the framework. - Barmar