I'd like to send a post value depending on what link was pressed. Is it possible to do this without a button?是否有可能「POST」通過一個鏈接(<a href>)
This is what i got (not working =)
HTML
<a href="time.html.php" id="select_month" name="select_month" value="01" action="post">Jan</a>
PHP
$selected_month = $_POST['select_month'];
簡短的回答:AJAX – 2015-02-11 13:12:43
@Hudixt:龍答:異步JavaScript和XML? – 2015-02-11 13:13:26
我以爲是這樣,但是我對html很氣憤。帶有AJAX的jquery是我的第二個chooise – d00rman 2015-02-11 13:14:03