Unhandled Exception in GlideAjax

soumya17
Tera Contributor

Hello ,

 

when i opened catalog item from portal i see "there is a javascript error in your browser console". 

i wrote client callable script to get multiple values..

soumya17_0-1677758655589.pngsoumya17_1-1677758713910.png

soumya17_2-1677758776689.png

Can someone correct me where did i do worng here..

Thanks

8 REPLIES 8

soumya17
Tera Contributor

Hello @Ankur Bawiskar , @Brad Bowman  

 

Any other solution to fix this?

 

Thanks

@soumya17 

did you check browser console and check what's the error?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

soumya17_0-1678171798552.png

 @Ankur Bawiskar  This is the error i can see in the console.

Thanks

Soumya

 

I would suggest you to add a debugger; statement in the callback of the GlideAjax. When you open the browser console and your codes gets executed, it will make the debugger trap on the "debugger;" line. Then you can step through your code line by line.