Php Ajax Html和Javascript在代码中的使用

Php Ajax Html和Javascript在代码中的使用,javascript,php,html,ajax,Javascript,Php,Html,Ajax,是我给定的代码。需要在以下按钮中应用这些代码 <div class="navigation"> <a class="prev" href="index.php?month=__prev_month__" onclick="$('#calendar').load('index.php?month=__prev_month__&_r=' + Math.random()); return false;"></a> <!-- <div class=

是我给定的代码。需要在以下按钮中应用这些代码

<div class="navigation">
<a class="prev" href="index.php?month=__prev_month__" onclick="$('#calendar').load('index.php?month=__prev_month__&_r=' + Math.random()); return false;"></a>
<!-- <div class="title" >__cal_caption__</div> -->
<a class="next" href="index.php?month=__next_month__" onclick="$('#calendar').load('index.php?month=__next_month__&_r=' + Math.random()); return false;"></a>
</div>

上
今天
下一个

将按钮包装在超链接中

<div class="cal-head-right">
<button class="prev">prev</button>
<button class="head-day">Today</button>
<button class="next">next</button>
</div>

今天

请澄清。需要更多关于问题的详细信息。我不确定如何使用下面的html按钮使用上述内容。
<div class="cal-head-right">

 <a class="prev" href="index.php?month=__prev_month__" onclick="$('#calendar').load('index.php?month=__prev_month__&_r=' + Math.random()); return false;">
  <button class="prev">prev</button>
 </a>

 <button class="head-day">Today</button>

 <a class="next" href="index.php?month=__next_month__" onclick="$('#calendar').load('index.php?month=__next_month__&_r=' + Math.random()); return false;">
  <button class="next">next</button>
 </a>

</div>