Many thanks!!! works fine!!! it is great! On 22 abr, 21:38, Daemach2 <[EMAIL PROTECTED]> wrote: > I made a mistake in the first function (extra bracket after the options...). > Sorry about that - I was running out the door when I posted it. It should > read: > > $(document).ready(function(){ > // Bind a function to the button in the document that contains the > iframe > $('#mybutton').click(function(){ > $.frameReady(function(){ > // all of this code is run inside the the iframe > itself - pretend it's a local document > $.blockUI(); > $('#mydiv').load("myurl.cfm/php/aspx"); > $.unblockUI(); > },"top.myIFrame",{jquery:false}); > }); > > }); > > The only reason to include jquery:false is to save 1-2ms. It's really not > necessary. IfframeReadyfinds jquery in the target frame it won't try to > load it. > > I whipped up a quick demo for you here, though the content loads so fast > blockUI doesn't have time to engage: > > http://ideamill.synaptrixgroup.com/demos/frameready/ajaxloaddemo.cfm > > http://ideamill.synaptrixgroup.com/?p=6 > > > > > > oscar esp wrote: > > > I was trying to understant how can use it for my porpupose but.... I > > didn't get any "solution" > > > My problem is : > > - I have a main page which contains a iframe > > - That main page contain some buttons. Each button should load a html > > page into the iframe. > > > In order to load the html page i would like to use ajax call and > > blockui plugin like: > > > onclick= > > > blockUI() > > ajax call to load html into iframe > > unblock > > > Any clue? > > > On 22 abr, 04:26, Daemach2 <[EMAIL PROTECTED]> wrote: > >>http://www.nabble.com/Plugin%3A-frameReady-updated.--Now-with-better-... > > >> You could tryframeReady: http://ideamill.synaptrixgroup.com/?p=6 > > >> oscar esp wrote: > > >> > I did some test in order to load div using ajax call: > > >> > jQuery.ajax({ > >> > type: "get", > >> > url: Purl+separator+new Date().getTime() , > >> > async: true, > >> > dataType: "html", > >> > success: function(data) > >> > { > >> > jQuery("#"+fTarget).get()[0].innerHTML=data; > >> > } > >> > }); > > >> > However I don't know how load content into iFrame....using ajax call. > > >> > Anyone could help me? > > >> -- > >> View this message in > >> context:http://www.nabble.com/ajax-call-to-load-iframe-tf3622584s15494.html#a... > >> Sent from the JQuery mailing list archive at Nabble.com.- Ocultar texto > >> de la cita - > > >> - Mostrar texto de la cita - > > -- > View this message in > context:http://www.nabble.com/ajax-call-to-load-iframe-tf3622584s15494.html#a... > Sent from the JQuery mailing list archive at Nabble.com.- Ocultar texto de la > cita - > > - Mostrar texto de la cita -