一份可運行的求職說明(概念版)

圖片版:


文字版:
1
function IWill(){}; 2 IWill.prototype.MyAgree=[ 3 "長期的合做", 4 "有能力和可靠的員工", 5 "善於學習,善於解決問題的員工", 6 "合理的薪酬和制度", 7 "理性,可建議可討論的團隊和環境" 8 ]; 9 IWill.prototype.MyAgainst=[ 10 "項目Over,慶功宴即散夥飯的一次性開發工具", 11 "無成本搞定一切的萬能員工", 12 "只會說是和好的自動播放機" 13 ]; 14 IWill.prototype.Say=function(YouNeeds){ 15 if(YouNeeds.length==0){ 16 alert("Are you OK?"); 17 return; 18 } 19 var iLoop=0; 20 for(iLoop=0;iLoop<YouNeeds.length;iLoop++){ 21 if($.inArray(this.MyAgainst,YouNeeds[iLoop])<0){ 22 alert("...Bye,And forget me please."); 23 return; 24 } 25 } 26 var AgreeNum=0; 27 $.each(YouNeeds,function(idx,value){ 28 if($.inArray(this.MyAgree,value)<0){ 29 AgreeNum++; 30 } 31 }); 32 33 if(AgreeNum==0){ 34 alert("I'm sorry"); 35 }else{ 36 alert("Please contact me."); 37 } 38 }; 39 var YouNeeds=[ 40 /*****************************************/ 41 //please enter you needs 42 /****************************************/ 43 ]; 44 var iWill=new IWill(); 45 iWill.Say(YouNeeds);
相關文章
相關標籤/搜索