Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

status 200 ok but not getting response from server

 
himanshu agarwal
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic