JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://dev.sencha.com/deploy/ext-4.0.2a/resources/css/ext-all.css">
<div id="testdiv"></div>

JavaScript

var formPanel = Ext.create('Ext.form.Panel', {
    renderTo: 'testdiv',
    title: 'Basic information',
    id: 'schnitzel',
    items: [
        {
            xtype: 'textfield',
            name: 'title',
            fieldLabel: 'Title'
        },
        {
            xtype: 'filefield',
            buttonOnly: true,
            name: 'file',
            onChange: function(value) {
                formPanel.submit({
                    url: 'http://hdr.meetr.de/file_upload.php',
                    waitMsg: 'Uploading the image ..',
                    clientValidation: false,
                    success: function(a,b) {
// What is todo here?                        
                    }
                });                    
            }
        }           
    ]
});