JRS: In article <tM******************************@comcast.com>, dated
Thu, 9 Mar 2006 13:39:06 remote, seen in news:comp.lang.javascript,
McKirahan <Ne**@McKirahan.com> posted :
"Dr John Stockton" <jr*@merlyn.demon.co.uk> wrote in message
news:3+**************@merlyn.demon.co.uk... JRS: In article <e7********************@comcast.com>, dated Wed, 8 Mar
2006 14:41:00 remote, seen in news:comp.lang.javascript, McKirahan
<Ne**@McKirahan.com> posted : >"John" <jo**@heathdrive.com> wrote in message
>news:OI********************@eclipse.net.uk... >> I have forgotten how to do this.
>>
>> Got a <form ... >
>> with
>> <input type="button" name="Hit Me" onclick="whatever()">
>> </form>
>>
>> The output of the Javascript function 'whatever' appears on a separate
>> page.
>>
>> I need it to go below the form on the same page.
>Show us "function whatever()".
If you had read and understood the newsgroup FAQ, you could have given a
useful answer.
There you go again, John: Always criticizing, rarely contributing.
You find that you are regularly criticised because of the low quality of
so much of what you post. You post in haste, and you do not read
enough. Your wisdom matches Thomas Lahn's tact.
My response above, if read intelligently, reveals all that it is
necessary to tell the enquirer : that the answer is given by the
newsgroup FAQ.
It was stated that the
"output of the Javascript function 'whatever' appears on a separate page."
thus, there is some logic within the unshown function that is causing it;
perhaps a "document.write" or "window.open()" statement.
Asking to see the function would be a step toward identifying the problem.
Because we regulars here do not have the failings that you have just
been described as showing, we already know what the problem is and what
the solution is and where the solution is briefly described with a link
to much more.
By your answer, you reveal your own incompetence.
As it happens, I needed the relevant solution myself several years ago.
I don't recall now whether I initiated the discussion or just joined in;
but it was then that Jim Ley produced the code in the FAQ and indeed
IIRC the FAQ entry itself.
Note that none of the regulars here thought, under the circumstances,
that the question was worth answering yet again in News. HR did provide
a serviceable answer, but one of limited applicability; it suffices
instead of writing into a simple <pre>...</pre>, for example, but it
could not provide a table such as in holidays.htm or output matching
js-clndr.htm#Ck .
Now stop your infantile Merkin whining, and set about learning enough to
be able to make worthwhile and reliable contributions.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.