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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -