Elemental missing getWindow().newFormData()

29 views
Skip to first unread message

Daniel Mauricio Patino León

unread,
Oct 18, 2012, 12:41:03 AM10/18/12
to google-we...@googlegroups.com
Iam trying to implement a html5 file api + xmlhttrequest level 2  upload on my project.


But sems that Elemental is missing things of FormData and i can't send over XMLHttpRequest object.

How to construct a object of FormData ?

FormData formData = /*getWindow().newFormData() <- doesn't exist */null;


interface FormData {
  void append(DOMString name, Blob value, optional DOMString filename);
  void append(DOMString name, DOMString value);
};

in the elemental one just 

formData.append(name, value, filename)

Where all parameters are strings.


Reply all
Reply to author
Forward
0 new messages