Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Fri, 21 Sep 2007 21:54:42 -0400,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Setting the src attribute of an embed element doesn't work   
When the src attribute of an embed element is set declaratively (it is 
specified as part of the tag), everything works fine. However, if I specify 
it using JavaScript, it does not work. Why is this, and is there a way 
around it? Thanks.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
date: Fri, 21 Sep 2007 21:54:42 -0400   author:   Nathan Sokalski

Re: Setting the src attribute of an embed element doesn't work   
Why is what?

Also, you say "it does not work". What is "it"? What does not work? What is 
it doing that you do not want it to do or it what is it not doing that you 
don't it does not work want it to.


"Nathan Sokalski"  wrote in message 
news:uTsnFuL$HHA.536@TK2MSFTNGP06.phx.gbl...
> When the src attribute of an embed element is set declaratively (it is 
> specified as part of the tag), everything works fine. However, if I 
> specify it using JavaScript, it does not work. Why is this, and is there a 
> way around it? Thanks.
> -- 
> Nathan Sokalski
> njsokalski@hotmail.com
> http://www.nathansokalski.com/
>
date: Fri, 21 Sep 2007 21:03:37 -0700   author:   Sam Hobbs _change_social_to_socal

Re: Setting the src attribute of an embed element doesn't work   
On Sep 21, 9:54 pm, "Nathan Sokalski"  wrote:
> When the src attribute of an embed element is set declaratively (it is
> specified as part of the tag), everything works fine. However, if I specify
> it using JavaScript, it does not work. Why is this, and is there a way
> around it? Thanks.

First off, don't use embed elements (use objects.)  And to solve your
problem, you must remove the object from the document and append a new
one.
date: Fri, 12 Oct 2007 03:19:56 -0700   author:   David Mark

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us