Hywel Jenkins wrote:
> In article <crlb86$2rqp$1@godfrey.mcc.ac.uk>, newsgroups@schestowitz.com
> says...
>> Let us say I have a JavaScript function called get_one() which returns a
>> one. I am not entirely sure if the returned value can be accessed only by
>> another function.
>
> The value returned can be accessed by any other function or operation as
> long as it's within scope.
>
>
>> Is there a way of doing something like the following?
>>
>> <font size=get_one()>Hello World</font>
>>
>> Must I use document.write?
>
> Yes, though which version of HTML are you using? Presumably it's an old
> one, seeing as you've got a <font> element.
My problem is now a little different. If I use document.write to write HTML
that has JavaScript within it, the JavaScript does not work. Is there a way
around this?
--
Roy Schestowitz
http://schestowitz.com
|
|