This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60766
    
  65

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]
 
Don't get me started about those stupid light bulbs.
 
subject: status 200 ok but not getting response from server
 
Similar Threads
Iframe to automatic update in jsp according to the database
image preview
Auto Refresh Table in JSP
Passing values to same page
I always get Response Time Out when uisng Google Visulazation API with My own DataSource