[jQuery] Re: ajax call to load iframe

2007-05-16 Thread oscar esp
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(){ >

[jQuery] Re: ajax call to load iframe

2007-04-22 Thread Daemach2
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').cl

[jQuery] Re: ajax call to load iframe

2007-04-22 Thread Dan G. Switzer, II
>If you're just trying to load a full HTML page into the frame, use >top.framename.location.href = "the url to your file". Using ajax doesn't >make much sense in that application. I couldn't agree more. I think sometimes people get so caught up in the phrase "AJAX" that they forget about exist

[jQuery] Re: ajax call to load iframe

2007-04-22 Thread Daemach2
If you're just trying to load a full HTML page into the frame, use top.framename.location.href = "the url to your file". Using ajax doesn't make much sense in that application. If you want to load content into a div in the iframe, however, you can use frameReady to do that. If the iframe is

[jQuery] Re: ajax call to load iframe

2007-04-22 Thread oscar esp
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 u

[jQuery] Re: ajax call to load iframe

2007-04-21 Thread Daemach2
http://www.nabble.com/Plugin%3A-frameReady-updated.--Now-with-better-docs-and-demos--%29-tf3610043s15494.html You could try frameReady: 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", > u