Write. function



I am just doing a course on Javascript and have begun to try out
different ideas. The effect I wanted was fro the user to click on a
graphic. Aprompt box would apprear asking their name and that imfo
would be transferred to the top of that page. However the users name
will only appear on a seperate page.

The code i am using (in brief) is as follows:

function getname()
{
myname = prompt("What is your name?","");
document.write("<font size 3>Welcome</font>");
document.write("<font size 3> </font>");
document.write(myname);

}

does anyone know how I cn get the users name to appear on the same page
(without using text box)? Maybe it cant be done using javascript.

Thanks for your time

Cass27

.



Relevant Pages

  • Re: Windows Form Dictionary
    ... intBookId (INT) ... I show this content in webBrowser  control. ... i cant use html file or tag or link style or other ... I obtain the word which double click with javascript, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Help with IE6/Javascript
    ... >> Whenever I go to this page from my laptop or home computer I cant ... >> JavaScript in your browser to switch the measurements on this page ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Execute Javascript From Buttons Inside Datagrid
    ... so you cant do it that way. ... > "Jon" wrote in message ... > column would come up in a popup window. ... I have the javascript to do the ...
    (microsoft.public.dotnet.general)
  • Calling Javascript from codebehind...
    ... hiye people, i know this have been ask multipletimes over the past year, but i cant find any here in the new group so here goes... ... in my code behind, i'm going to do some validation and use javascript to throw the msg out to them, these errors msg are query from the db. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WWW:Mechanize with Menu
    ... The problem is that I cant see the code. ... I dont know if it is ... Javascript. ...
    (perl.beginners)