Somehow get the DOM Element of the iframe - getElement() if you have a
Widget, otherwise you'll have to find it somehow - best bet is to probably
do this:

<div id="myiframe">
<iframe></iframe>
</div>

Element e = RootPanel.get("myiframe");

then use e.setAttribute("src", "http://site.com";);
On Sat, Apr 11, 2009 at 12:12 PM, Prashant Gupta <[email protected]>wrote:

> hi,
>
> anyone know how to set src attribute of an iframe?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to