aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes status 200 ok but not getting response from server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "status 200 ok but not getting response from server" Watch "status 200 ok but not getting response from server" New topic
Author

status 200 ok but not getting response from server

himanshu agarwal
Greenhorn

Joined: Nov 05, 2012
Posts: 1
hi i am new to coding and working for a mnc as a fresher . for my project i am using jsonp for request/response from server .

this is the sample code:-



but for this domain "http://h-api.online-metrix.net" status is showing 200 ok but not getting proper response in firebug.

but when i remove type="text/javascript"

from




i get error in console: "invalid assignment left-hand side" and below this i see one string which i need .

please help me
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61654
    
  67

There are syntax errors in your markup. Is that your real code, or did you just make mistakes when posting it?

If the former, fix the errors. (Hint: check for missing angle brackets.)


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: status 200 ok but not getting response from server