How to process php file on tree child click event? -


i have created tree panel in viewport , placed toolbar menu items in north region of viewport.

this how works:

  1. i select file -> open, i.e. xml file
  2. now "somefile.xml" dynamically added tree

i want following on treechilenodeclick:

  1. once dblclick on somefile.xml, want able call php file xml file , returns results
  2. how can run php script?
  3. how can retrieve returned values of php script?

thanks tip/solution.

i found out sencha website how it. here people wandering.

ext.ajax.request({     url: "test.php?id=something",     method: "get",     success: function(response) {         ext.get("result").update(response.responsetext);     } }); 

if needs added, please feel free add.


Comments

Popular posts from this blog

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

Android Gson.fromJson error -