MOBILE: JQuery Validate access URL

Hi, Im trying to validate if users have access to a specific URL and Im with this problem right now:

I create a script with the following code and associate that same script to the screen:

After this function in the screen I have a link that execute the next one script:

Even so, i continue to getting this error message:

Did I miss any step?

Thank for your help. 


I am not sure but it is not feasible to use the Jquery directly [Might be JQuery not detected with Mobile's]. Instead, you can use JS as an alternative for the same.


You can try this Forge Component for the same: