Javascript code runs in console but not in PAD

If you get the "$ is not defined" error, then dynamically load jQuery library first in ExecuteScript and after that execute your code.
Instructions

Line 9-10: Insert your code to here.

PAG Admin
Also See These Flows