javascript - Get parameter of GET request -


i make request:

 createxhrrequest( "get", fileurl, function( err, response ) {       if( err ) { alert( "error get!" ); }       alert(response);  }); 

and full response:

{ "status" : "ok", "message" : "jvberi0xljqkjdduxdgkmy

how can jvberi0xlj?

i try response.message , response["message"]. nothing works.

just simple access this:

var json = json.parse(response); json.message 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -