Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Very Simple JavaScript Question

  • Subject: Re: Very Simple JavaScript Question
  • From: Toby Inkster <usenet200501@tobyinkster.co.uk>
  • Date: Fri, 07 Jan 2005 08:41:59 +0000
  • Newsgroups: alt.html
  • References: <crlb86$2rqp$1@godfrey.mcc.ac.uk>
  • User-agent: Pan/0.14.2.91 (As She Crawled Across the Table)
  • Xref: news.mcc.ac.uk alt.html:276505
Roy Schestowitz wrote:

> 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. Is there a way of doing something like the following?
> 
> <font size=get_one()>Hello World</font>

<body onload="document.getElementById('foo').size=get_one();">
<font id="foo">Hello World</font>
</body>

??

-- 
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index