Site Notice

hello, world

FormData

From Project-EPB Commons

<html> <form id="myForm"> <label> <input type="hidden" name="action" value="upload"/> <input type="hidden" name="filename" value="test.png"/> <br/> <input type="file" name="file"/> <br/> <input name="token" value="" readonly/> <input type="button" onclick="$('input[name=\'token\']').val(mw.user.tokens.get('csrfToken'));return false;"/> </label> </html>