我知道移动端JS没有$的写法 $("td[id^='A15-0']").css("color","red"); 有没有一样意思的写法,填报的字体赋值变色需要直接使用JS而无法使用条件属性 PC端的写法是上面的那样,不知道移动端的写法是甚麽 if(and(find("'"+C3+"'","'"+REPLACE(C7,",","','")+"'")>0,len(C3)>0,len(C7)>0),"<font color=green>"+"料號相符",if(and(find("'"+C3+"'","'"+REPLACE(C7,",","','")+"'")=0,len(C3)>0,len(C7)>0),"<font color=red>"+"料號不符",if(and(len(C3)>0,len(C7)=0),"<font color=black>"+"目前庫存料號為空\n請掃入庫存料號",if(and(len(C3)=0,len(C7)>0),"<font color=black>"+"目前發料單料號為空\n請掃入發料單料號","<font color=black>"+"請掃入發料單料號及庫存料號")))) |