On Feb 25, 4:20 pm, fleusebio <[email protected]> wrote:
> OK problem solved by changing
> $("#whoja").location = xpdf; OR
> $("#whoja").src = xpdf;
>
> by -->>> document.getElementById("whoja").src = xpdf;
>
> I do not know why $("#whoja") this is not correct
Why would $("#whoja").location = xpdf work? location is not an
attribute of iframe. src is. Try $("#whoja").attr("src", xpdf).
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" 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/jquery-ui?hl=en.