Results 1 to 3 of 3

Thread: how to display html from php output

  1. #1

    Default how to display html from php output

    hi i'm beginner of extjs or sencha

    i tried to modified grouptabs
    (examples/grouptabs/grouptabs.html)

    i want to add new tab in subcriptions that sourced from a php file name 'test.php'
    <?php
    print 'hi...i'm from test.php';
    ?>

    but i tried to not use autoload...i want when we click the tab, extjs ajax.request the php and display it...

    i tried to use this but still no success

    Ext.Ajax.request({
    url:'tes.php',
    method:'GET',
    success: function(response,request){
    var data = Ext.decode(response.responseText);
    store.loadData(data);
    }
    });

    how to do it
    please help..

  2. #2
    Sencha User jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    DC Area =)
    Posts
    16,364

    Question

    I've had no issues using autoLoad. Have you performed any debugging?

  3. #3
    Sencha Premium User mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    3,153

    Default

    Your ajax URL points to "tes.php" but your test page is test.php..?

Similar Threads

  1. Display Output Saved By HTML Editor!
    By jmkelly in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 24 Mar 2010, 4:23 PM
  2. Fire Message Boxes based on php output
    By churcho in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 10 Aug 2009, 4:26 AM
  3. Display CGI output while still running
    By PVannieuwerburgh in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 2 Dec 2008, 7:14 AM
  4. Form layout and html output
    By hpet in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 11 Mar 2008, 1:15 AM
  5. HTML Editor Output Display
    By paw220470 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 19 Feb 2008, 1:22 PM

Tags for this Thread

Posting Permissions

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