get the conent form external javascript

get the conent form external javascript

  

I have requirement,i need to load content from external url,but this url loads javascript code.

how can i change javascript code to web content. 

If your URL returns Javascript that when evaluated will render the content you need, then if you want to do it server-side you will need some sort of browser engine (something that knows how to render HTML and Javascript) on the server-side as well.

Can you explain better what kind of content/Javascript you get and what do you want to do with it? is this for a mobile app or web application? What have you tried so far?