Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member Mary_Jane_1993's Avatar
    Join Date
    Oct 2011
    Posts
    1
    Member #
    29607
    hi boys, I was wondering if I could get a little help

    Get the JSON string ($. GetJSON) from http://notendur.hi.is/moller/p.php
    If you check return value from this site, you should see something like this:
    {"One", "string", "two", "string", "three", "string"}
    You can give you the following:
    Valid ("string") are always references to Rodney Dangerfield.
    Keys are always three and the names "one" "two" and "three"

    Add a key (button) in the body tag of your HTML pages. When you press the
    key, a div id = "Rodney" and emptied its contents change in three
    references to Rodney Dangerfield.
    Let each of quotations appearing in its own kind of <span>
    id is the same as the key from JSON string to the quotation.

    These are my instructions, but according to what i've read, the php needs to be wrapped in json_encode for $.getJSON to be able to fetch the values.

    I don't get it at all, how is this supposed to be even possible?

    please help

    thanks in advance,
    Mary

  2.  


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:27 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com