Re: Calling JS function from within iframe tag



Thanks for the reply. Regarding some of your points, why are the html
comment tags there? They are there in case the user has an older
browser that doesn't support javascript. Several examples of this can
be found here:

http://www.prestwood.com/community/webmaster/javascript/lessons/beg_js.html
http://www.engin.umd.umich.edu/CIS/course.des/cis400/javascript/hellow.html
http://www.webreference.com/js/scripts/basic_date/

Second, you said the src attribute should be the URL of the document to
show in the iframe. That is exactly what the getPage() function
returns. I know it getPage() works correctly since I've tried calling
it not in the iframe tag. It seems to me one of two things can be
wrong. One, that html doesn't allow you to call a javascript function
if it's in the context of a value of a property. Or two, there is some
syntax error that I am introducing in the way I am calling the
function. I have tried several variation (i.e. no quotes, single
quotes, etc...), but so far haven't hit upon it.
But thanks for the help, I will try your solution.

.



Relevant Pages

  • Re: Parsing an HTML a tag
    ... > tags of a html file? ... with single quotes instead of double quotes, ... > Google has some strange html, ...
    (comp.lang.python)
  • Re: Stop VS.Net from reformatting my aspx pages
    ... do proper indentation, close all tags. ... html editor. ... like ) and all attributes in quotes. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Regular expression to structure HTML
    ... HTML with regexes... ... tags can have whitespace in many unexpected places ... attribute names can also be in unexpected upper/lower case ... attribute values can be enclosed in double quotes, single quotes, or ...
    (comp.lang.python)
  • Visual Studio 2003 ASP.NET Re-writing
    ... While switching from HTML view to design view. ... I don't mind tags ... error" without the quotes around the encType. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: word webpages
    ... The ther are som tags with no closing tags DreamWeaver would remove what ever was causing these problems. ... Just create a simple document and save as HTML Make sure it has some type of formatting. ... XML all versions ...
    (microsoft.public.mac.office.word)