2016-04-06 18 views
-3
<input class="stars" type="radio" id="star5" onclick="myFunction('Overall rating:',5)" name="rating" value="5" /> 
<label class = "full" for="star5" title="Awesome - 5 stars"></label> 
<input class="stars" type="radio" id="star4" onclick="myFunction('Overall rating:',4)" name="rating" value="4" /> 
<label class = "full" for="star4" title="Pretty good - 4 stars"></label> 
<input class="stars" type="radio" id="star3" onclick="myFunction('Overall rating:',3)" name="rating" value="3" /> 
<label class = "full" for="star3" title="Meh - 3 stars"></label> 
<input class="stars" type="radio" id="star2" onclick="myFunction('Overall rating:',2)" name="rating" value="2" /> 
<label class = "full" for="star2" title="Kinda bad - 2 stars"></label> 
<input class="stars" type="radio" id="star1" onclick="myFunction('Overall rating:',1)" name="rating" value="1" /> 
<label class = "full" for="star1" title="Sucks big time - 1 star"></label> 
<font size="4"color="#ffffff">Overall rating:</font> 

PHPでデータベースのjsパラメータ値を渡すにはどうすればよいですか? yourString、 'yourValue':値}、関数(D)AJAXをPHPを使用してデータベースのjsパラメータ値を渡す

MyFunctionを(yourString、値){

$に.get( 'updatePage.php' { 'yourkeyString' を使用することにより

+0

何も分かりませんが、何が欲しいですか? – Phiter

+0

あなたはajaxを使用することができます – uzaif

+0

あなたはこれを稼働させようとしたことを私たちに示してもらえますか? – Henders

答えて

0

Onchange()この答えを確認することができます。

関連する問題