extjs4 - ExtJS 4.0 : Create Basic Form from existing markup -


i trying create basic form existing markup. did in extjs 3.3 way:

var formel = document.createelement('form');  ........  var formsubmit = new ext.form.basicform(formel, {             method:'post',             fileupload:true         }); 

it worked ext 3.3 basic form used accept form id or element dom first param. in ext 4.0, there no such option. need submit basic form later.

can tell me: there other option in extjs 4 this?

unfortunately cannot work ext js 4.

in ext 4 forms not bound actual html form elements. instead on submit temporary form element generated , submitted server.

you should submit form using js. here example how that.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -