May I request you be more specific on your issue so that we can understand the requirement better and can help you accordingly.
Also, assuming that you are getting the above error while migrating VF pages from classic to lightning then I would suggest you please refer to the below link from the stack exchange community with a similar discussion.
Thannks Nagendra for your reply. I have vf page, on that i am using <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"/>
report that we generate before movig to lightning from classic says that " jquery.min.js JavaScript included in this page uses window. methods."
function removeSO(){ var flg = false; $(".chk").each(function(){ if($(this).prop("checked")){ flg = true; } }); if(flg){ callaction(); }else{ alert("Please select at least one Sales Order"); } }
Sorry for this issue you are encountering.
May I request you be more specific on your issue so that we can understand the requirement better and can help you accordingly.
Also, assuming that you are getting the above error while migrating VF pages from classic to lightning then I would suggest you please refer to the below link from the stack exchange community with a similar discussion.
- https://salesforce.stackexchange.com/questions/147023/what-is-suggested-approach-to-transfer-vf-pages-to-be-lightning-ready
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra
I have vf page, on that i am using <apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"/>
report that we generate before movig to lightning from classic says that " jquery.min.js JavaScript included in this page uses window. methods."
the above link from the community explains very clearly on the above issue.
May I request you please post the complete code snippet of what you have so that we can look into it and can help you accordingly.
Thanks,
Nagendra
<apex:includeScript value="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"/>
<script>
function removeSO(){
var flg = false;
$(".chk").each(function(){
if($(this).prop("checked")){
flg = true;
}
});
if(flg){
callaction();
}else{
alert("Please select at least one Sales Order");
}
}
</script>
bold is giving the error.