I will really appreciate your help. What happens is that my code gets a string vía ajax from a php file. The php file returns a long string that contains the following "css":["DSK\/y"],"js":["V5Llk","1dVnw"],"onload":["goURI(\"\\\/procedure\\\/376993639056176\\\/?context=create\");"],"bootloadable":{"IframeShim":{"resources":[....
What I want is to get the number 376993639056176 with javascript that is a server variable and keep a process with it. Can you help me please?
Your server is returning a JSON with several information and you want the number part of the “onload” property of it. You can do the following
The following function will get only the digits from your String
Here’s a functional fiddle