Skip to content

Commit

Permalink
modified sample.html to add '<input type="file">'.
Browse files Browse the repository at this point in the history
  • Loading branch information
KojiNakamaru committed May 31, 2016
1 parent 92c46d2 commit 130ae7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sample/Assets/StreamingAssets/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ <h1>Hello Unity WebView!</h1>
<h2><a href="javascript:void(0)" onclick="Unity.call('anchor');">[Send Message!]</a><h2>
<hr/>
<form method="get" action="form">
<input type="file" name="datafile"/>
<input id="input1" type="text" value="hoge" name="msg"/>
<input type="submit" value="Send Message!" onclick="Unity.call('form?msg=' + document.getElementById('input1').value); return false;"/>
</form>
Expand Down

0 comments on commit 130ae7d

Please sign in to comment.