Gracias, Wikipedia.
ShareCode
Permalink: http://www.treeweb.es/u/974/ 01/02/2011

ShareCode

1 <h1>Dexter upload test</h1>2 <input id="input_url" type="url" style="width:100%;" onchange="update_form_url(this.value);" value="">3 4 <h2>Request</h2>5 <form id="form" action="http://localhost:10693/dexter/v35/files/" method="POST" enctype="multipart/form-data" target="a">6  file: <input type="file" name="file"> <button>Send</button><br>7 </form>8 9 <h2>Response</h2>10 <iframe name="a" style="width:100%"></iframe>11 12 13 14 <script type="text/javascript">15 16 var default_url = 'http://localhost:10693/dexter/v35/files/';17 18 function update_form_url(url) {19  document.getElementById('form').setAttribute('action', url);20 }21 22 23 document.getElementById('input_url').value = default_url;24 update_form_url(default_url);25 26 </script>


Este ShareCode tiene versiones:
  1. Dexter upload test Request file: ... (18/09/2021)
Enlace
El enlace para compartir es:

Powered by TreeWeb
© TreeWeb 2010. Todos los derechos reservados