How jQuery works in catalog client script

krishna343
Tera Contributor

Hi,

 

I am trying to understand, how the jQuery is working in the below script screenshot

trying to find the "app_role_checkbox_val" where i can see it

krishna343_0-1671549629382.png

 

 

11 REPLIES 11

jaheerhattiwale
Mega Sage
Mega Sage

@krishna343 To make jQuery work in client script you must set the "Isolate script" checkbox to false.

jaheerhattiwale_0-1671550028072.png

 

If its not available in form then you can find it in list view and change its value to false.

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Hi @jaheerhattiwale 

 

I am trying to understand how jQuery works in catalog client script.

@krishna343 What exactly you are trying achieve?

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Hi @jaheerhattiwale 

 

I want to understand how the Jquery runs on "app_role_checkbox_val", where can find the information.

 

want to understand the functionality behind   the "app_role_checkbox_val", i am trying to understand the how jquery is getting the value and setting in the "app_roles" variable mentioned in the screen shot