Closed Thread
Results 1 to 3 of 3

Thread: Is this answer an error?

  1. #1
    big-tony is offline Learning Programmer
    Join Date
    Jan 2009
    Location
    Tennessee
    Posts
    42
    Rep Power
    0

    Lightbulb Is this answer an error?

    I was doing my Quiz for my online school and I think it may have mistakenly counted one of my answers wrong.

    Let me know if my answer really IS wrong or not.

    Here is the question:

    _____________________________________
    Currently enrolled in School for an Associates Degree in Computer Science

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    PGP_Protector's Avatar
    PGP_Protector is offline Programming Professional
    Join Date
    Jun 2009
    Posts
    253
    Rep Power
    11

    Re: Is this answer an error?

    From my understanding of Java (Not the best) it appears as though the Test is Correct.

    1) You want the Value in Message not "Message" Displayed via the Alert function
    alert("Display This Test"); (Displays "Display This Test")
    alert(StringData); (Displays the Data in StringData)

    The Onclick is used as (Once again If My understanding is correct )
    onClick="function('value');"
    With the Function you wish in " marks
    In the above example the text value is passed to function
    if you wish the data in a variable(myvarable) to be passed to function it would be
    onClick="function(myvarable);"

  4. #3
    big-tony is offline Learning Programmer
    Join Date
    Jan 2009
    Location
    Tennessee
    Posts
    42
    Rep Power
    0

    Re: Is this answer an error?

    oooh I think I get it now.. The "value" in the question tricked me a little bit. I was thinking it was just asking what was the correct way to print the text, guess I should have read the question more thoroughly .. Thanks
    _____________________________________
    Currently enrolled in School for an Associates Degree in Computer Science

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need to know the answer to this question
    By ToMegaTherion in forum Java Help
    Replies: 3
    Last Post: 05-10-2010, 07:02 PM
  2. does anyone know the answer to this question?
    By mmo-dev in forum PHP Development
    Replies: 0
    Last Post: 03-29-2010, 06:00 AM
  3. If you can answer this you are a genius
    By kareem100 in forum C# Programming
    Replies: 4
    Last Post: 12-15-2008, 10:07 PM
  4. due by tomorrow, really need an answer
    By kreol in forum C and C++
    Replies: 10
    Last Post: 04-22-2008, 09:03 AM
  5. need an answer
    By Chinmoy in forum General Programming
    Replies: 3
    Last Post: 02-20-2008, 09:11 AM

Tags for this Thread

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