ѧϰ·±Ã¦,żȻ·¢ÏÖwelearnƽ̨µÄ´ð°¸È«ÊÇ´æ´¢ÔÚÁ˱¾µØµÄ
ËùÒÔ³¢ÊÔÁËÏÂÌáÈ¡´ð°¸,´úÂë±È½Ï´Ö²Ú,»¹Íû´óÉñ¼ûÁÂ.
·ÖÎöµÄʱºò·¢ÏÖwelearnÊÇÓдðÌâ²Ù×÷¼Ç¼»úÖƵÄ,ËùÒÔû¸Ò×öÌ«Ã͵Ľű¾,Ò²²»Ôõô»á×ö,С°×Ò»¸ö
Ñ¡ÔñÌâ+Ìî¿ÕÌâ:
[JavaScript] ´¿Îı¾²é¿´ ¸´ÖÆ´úÂë var arr = $("iframe").contents().find("#hd").val().replace(/#/g,"").split("|");
var sum = -1;
for(var i = 0; i < arr.length; i++){
if(arr[i].split('-').length - 1 == 4){
$("iframe").contents().find("[for$='" + arr[i] +"']").css("color","#FF0000");
}else{
$("iframe").contents().find(".fill_blank input:eq("+(this.sum++)+")").attr("placeholder",arr[i]);
}
}
Ñ¡Ôñ+Ìî¿Õ
´Ê»ãÌî¿ÕÌâ
[Asm] ´¿Îı¾²é¿´ ¸´ÖÆ´úÂë var answers = $("iframe").contents().find("li:contains(ÕýÈ·´ð°¸)");
window.setInterval(function(){answers.css("display","");
console.log('¶¨Ê±Æ÷ÕýÔÚÔËÐÐ');
},1000);
µ¥´ÊÌî¿Õ
|