<form action:"" name="sample" method="post"/>
Firstname:<input type="text" name="firstname" /><br>
Lastname:<input type="text" name="lastname"/><br>
DOB:<input id="datepicker" /><br>
Email:<input type="text" name="email"/><br>
Gender:
<input type="radio" name="Male" value="Male"/> Male
<input type="radio" name="Female" value="Female"/> Female<br>
Address: <textarea name="address" rows="2" cols="20"></textarea><br>
<input type="submit" value="Submit" />
</form>
我需要像这样的json输出
{"Firstname":"","Lastname":"","Email":"","Address":""}