0

I use NanoHTTPD as web server in my android, the following content is generated and I can browse the html in Firefox.

I hope to delete all selected items, I don't know how to write jQuery or JavaScript code to post the file names of all selected items to web server

and I don't know how NanoHTTPD handle get the posted file names.

Could you write some sample code for me? Thanks!

<input name="subBox" type="checkbox"  value="\SD\1.jpg"/>1.jpg <br/>
<input name="subBox" type="checkbox"  value="\SD\2.jpg"/>2.jpg <br/>
<input name="subBox" type="checkbox"  value="\SD\3.jpg"/>3.jpg <br/>
<input name="subBox" type="checkbox"  value="\SD\4.jpg"/>4.jpg <br/>
.
.
.

<input type="button" value="Delete Selected Images" onclick="DeleteSelectedImage()" />
Mrigank Pawagi
  • 892
  • 1
  • 8
  • 26
HelloCW
  • 843
  • 22
  • 125
  • 310

0 Answers0