Вот этот участок рейтинга страницы, который формирует скрипт джавы
XML/XHTML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$('.rstar').rating({
callback: function(value, link) {
rate_val = value;
rate_name = $(this).attr('name');
rate_code = rate_name.replace('rate_', '');
$('#' + rate_code + '_submit').css('display', '');
}
});
});
//]]>
</ script >< form action = "page.php?al=BBcode_table&inr=send" method = "post" id = "p138_form" name = "p138_form" style = "display:inline;clear:none;margin:0;padding:0" >< div style = "display:inline;margin:0;padding:0" >< input type = "hidden" name = "x" value = "e59ce4c037548e49" /></ div >
< div class = "rating" >< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "1" title = "Очень плохо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "2" title = "Плохо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "3" title = "Неплохо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "4" title = "Удовлетворительно" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "5" title = "Нормально" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "6" title = "Почти хорошо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "7" title = "Хорошо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "8" title = "Очень хорошо" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "9" title = "Отлично" />< input id = "rate_p138" name = "rate_p138" type = "radio" class = "rstar {split:2}" value = "10" title = "Идеально" />< input type = "submit" value = "Отправить" id = "p138_submit" class = "rating_submit" />
</ div >
</ form >
|
Валидатору не нравится повтор
XML/XHTML
1 |
id="rate_p138" name="rate_p138"
|
Нечто похожее было и форуме, но я как-то исправил и.. не зафиксировал как, к сожалению