Re: Calling JS function from within iframe tag
- From: "ukrbend" <ukr_bend@xxxxxxxxx>
- Date: 2 Dec 2005 13:25:48 -0800
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.
.
- Follow-Ups:
- Re: Calling JS function from within iframe tag
- From: RobG
- Re: Calling JS function from within iframe tag
- From: web.dev
- Re: Calling JS function from within iframe tag
- From: ukrbend
- Re: Calling JS function from within iframe tag
- References:
- Calling JS function from within iframe tag
- From: ukrbend
- Re: Calling JS function from within iframe tag
- From: web.dev
- Calling JS function from within iframe tag
- Prev by Date: Re: How to detect that user closes the user-agent window ?
- Next by Date: Re: creating new elements & adding drag & drop functionalities (with wz_dragdrop.js library)
- Previous by thread: Re: Calling JS function from within iframe tag
- Next by thread: Re: Calling JS function from within iframe tag
- Index(es):
Relevant Pages
|