2013-05-01 62 views
0

我想「包括」一個頁面,當我選擇「jQuery UI單選按鈕」。

<input type="radio" id="radio1" name="radio"><label for="radio1">Choice1</label> 
<input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice2</label> 
<input type="radio" id="radio3" name="radio"><label for="radio3">Choice3</label> 
</div> 
<?php 
//  if (radio == Choice1){ 
//  include ("file1.php"); 
//  } 
//  elseif (radio == Choice2){ 
//  include ("file2.php"); 
//  } 
//  else { 
//  include ("file3.php"); 
//  } 
?> 

我想 「包括」 一個頁面時,我選擇 「jQuery UI的單選按鈕」。 請用一個小腳本告訴我。我不是jquery或ajax的專家

+0

..? – 2013-05-01 11:02:39

回答

相關問題