Results 1 to 3 of 3

Thread: JavaScript

  1. #1
    Join Date
    Dec 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JavaScript

    I have an assignment due, and was needing more help with JavaScript. I need to create a dialog box that will prompted the user to submit their name and when they do a personalized message with their name at the top pops up on their screen? How can I do that?

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Sorry, we are not here to do your homework for you. Usually an assignment leads on from lessons taught in class so try to think about the work you've completed recently and how it might relate to this assignment.

    If you are stuck, you should primarily ask your tutor for assistance or classmates for collaborative support.

    But you can help yourself by reading your own question and doing research in Google. For example, your first requirement is to create a dialog box that prompts the user to enter their name in to a form. Google "how to create a JavaScript dialogue box" and try out a few things. Also ask yourself when the JavaScript fires; on page load perhaps? And then add that to your search criteria.

    Approach the assignment in stages while you research and write your code.

    Good luck
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I agree with Beverley (see post immediately above) on this, yet will provide one more clue for now. Once you've figured out how to get the input from the user, a simple alert should suffice to send a personalized message back to them, so also Google "javascript alert" to see how that last bit is done.

    Further, if you actually have worked something out - sort of, but are still having problems with it. Show us what you have. We can probably then provide more specific clues at that point.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Similar Threads

  1. Replies: 13
    Last Post: 05-08-2008, 06:48 AM
  2. Replies: 4
    Last Post: 02-11-2008, 02:38 PM
  3. Javascript.AJAX link inside javascript dropdownmenu
    By Possemaster in forum JavaScript
    Replies: 2
    Last Post: 01-25-2008, 09:46 AM
  4. 3rd javascript not supporting in side the javascript program
    By raju in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 03-24-2007, 10:34 AM
  5. [Javascript] Class-Based Javascript Analog Clock
    By ByteMyCode in forum Submit a DHTML or CSS code
    Replies: 2
    Last Post: 10-14-2006, 10:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •