I would like to update iFrame content with ajax call result like:

        jQuery.ajax({
                                type: "get",
                                url: url ,
                                async: true,
                                dataType: "html",
                                success: function(data)
                                {

                                        
jQuery("#iframeTarget").get()[0].innerHTML=data;
                                        jQuery.unblockUI();
                                }
        });

But I don't how update the content:

jQuery("#iframeTarget").get()[0].innerHTML=data;

It works for a div but not for a Iframe.

Any one could help me?

Reply via email to