jfksaljks **^&^*)*&^^%$^*&^)*()<h1>jfdksl</h1>
<script>jdfskl</script>
<script>jdfskl</script>
2016-02-19
function getStar(n){
n = parseInt(n);
for(var i=0;i<stars.length;i++){
if(i<=n-1){ stars[i].style.color = 'red';} else{stars[i].style.color = ''; }}
ret.innerHTML= n +'星';}
for(var i=0;i<stars.length;i++){
stars[i].onclick = function(){getStar(this.getAttribute('star')); } } }
n = parseInt(n);
for(var i=0;i<stars.length;i++){
if(i<=n-1){ stars[i].style.color = 'red';} else{stars[i].style.color = ''; }}
ret.innerHTML= n +'星';}
for(var i=0;i<stars.length;i++){
stars[i].onclick = function(){getStar(this.getAttribute('star')); } } }
2016-01-22
function del(el){
var p = el.parentNode;
p.parentNode.removeChild(p);
var p = el.parentNode;
p.parentNode.removeChild(p);
2016-01-22
已采納回答 / 老猿
divLis[i]在循壞外了
最新回答 / 李曉健
oninput 是個(gè)什么事件?