How to get value/string from URL after & symbol .

Neelavathi M
Tera Contributor

Hi All,

 

I have a requirement to populate the value from URL, actual value is(&sysparm_phase=6%20test%20&%20plan) '6 test & plan' i am able to get till '6 test' but '& paln ' is not populating it is trimming  off, so what needs to changed in client scritpt to get full value.

Quick help is appreciated.

 

11 REPLIES 11

@Ankur Bawiskar 
sorry it is in normal form.

@Neelavathi M 

are you calling ajax function from client script?

if yes then why are you talking about URL parameter

Can you share your both the scripts and what's your business requirement here?

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