Hi,

the value you get from client script; what do you wish to perform on that?

that field on form is of what type and what value you wish to send to ajax function?

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