i want to "include" a page when i select "jQuery UI radio button".
How to get radiobutton variable into php ?
<div id="radioset">
<input type="radio" id="radio1" name="radio"><label for="radio1">Choice 1</label>
<input type="radio" id="radio2" name="radio" checked="checked"><label for="radio2">Choice 2</label>
<input type="radio" id="radio3" name="radio"><label for="radio3">Choice 3</label>
</div>
<?php
// if (radio == Choice 1){
// include ("file1.php");
// }
// elseif (radio == Choice 2){
// include ("file2.php");
// }
// else {
// include ("file3.php");
// }
?>
i want to "include" a page when i select "jQuery UI radio button".
Please tell me with a little script. i am not expert on jquery or ajax