1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    5
    Vote Rating
    0
    ricardo is on a distinguished road

      0  

    Default How to load JSON content from URL?

    How to load JSON content from URL?


    Hi,

    I need to load some JSON content from a URL every n seconds. Everytime the JSON content is received I want a function to be called with the JSON content to process it and update the HTML on the page to display the results.

    How do I do that? I tried using UpdateManager but so far it's dumping the JSON content into the <div> that has the ID that I used to create the UpdateManager. The JSON data is to be displayed inside that <div> but I don't want a straight dump of the JSON data.

    Please advise.

    Thanks

  2. #2
    Sencha - Community Support Team JeffHowden's Avatar
    Join Date
    Mar 2007
    Location
    Forest Grove, OR
    Posts
    1,038
    Vote Rating
    1
    JeffHowden is on a distinguished road

      0  

    Default


    It's doing that because it's using the default renderer. Specify a custom renderer and use that to parse the JSON response and update the div accordingly.

Similar Threads

  1. Show Load Indicator W/Element.load()
    By thejoker101 in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 8 Feb 2007, 12:17 PM
  2. How can i load JSON Data into PropsGrid?
    By Micha in forum Ext 1.x: Help & Discussion
    Replies: 17
    Last Post: 29 Dec 2006, 9:27 AM
  3. content-type for JSON?
    By Slapyo in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 18 Dec 2006, 8:11 AM
  4. JSON lib (Java object-->JSON or JSON-->Java object)
    By young_matthewd in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 6 Dec 2006, 7:15 AM
  5. Replies: 1
    Last Post: 23 Nov 2006, 9:08 PM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi