Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Ialocin
Veyr The Veyr Collective
0
|
Posted - 2013.07.04 16:53:00 -
[1] - Quote
Does the IGB support ajax calls? I've been trying to get it to grab some json data, from a webservice, and I haven't really had any success yet. The entire project runs fine, in any other browser I've tested with.
Does anyone have experience with this? |
Steve Ronuken
Fuzzwork Enterprises
1609
|
Posted - 2013.07.04 19:41:00 -
[2] - Quote
depends how complex you want to go in the ajax, really.
https://www.fuzzwork.co.uk/2012/04/13/prowler-fitting/ depends on ajax to work, for example.
You /might/ get something useful out of the log server. http://wiki.eveonline.com/en/wiki/Log_Server Steve Ronuken for CSM 9!-á I'm starting early :) Handy tools and an SDE conversion Twitter: @fuzzysteve on Twitter |
Ialocin
Veyr The Veyr Collective
0
|
Posted - 2013.07.04 20:36:00 -
[3] - Quote
Thank you. Never looked at log server before.
Well, I am getting a few javascript errors. Even says jquery is undefined, what the hell.. I guess I'll need to look deeper into this. Is the IGB particular picky about how to load js files maybe? |
Liu Ellens
Blame The Bunny The Dark Nation
93
|
Posted - 2013.07.04 20:37:00 -
[4] - Quote
Only in the sense that it's a quite old version of WebKit. It doesn't even support Object.create() . upro - an online browser application to support navigation in New Eden and beyond. |
Nnaem Kvorr
Fleet-Up.com
11
|
Posted - 2013.07.05 11:33:00 -
[5] - Quote
Ialocin wrote:Does the IGB support ajax calls? I've been trying to get it to grab some json data, from a webservice, and I haven't really had any success yet. The entire project runs fine, in any other browser I've tested with.
Does anyone have experience with this?
I do and yes it does. I would suggest using a JS library like jQuery that has dedicated cross-browser-tested ajax methods to help avoid getting stuck in the trap of managing your own AJAX requests and having to manually test on many browsers. Fleet-Up.com - Your fleet operations, on steroids. |
Ialocin
Veyr The Veyr Collective
0
|
Posted - 2013.07.05 12:45:00 -
[6] - Quote
Nnaem Kvorr wrote:Ialocin wrote:Does the IGB support ajax calls? I've been trying to get it to grab some json data, from a webservice, and I haven't really had any success yet. The entire project runs fine, in any other browser I've tested with.
Does anyone have experience with this? I do and yes it does. If you are not already, I would suggest using a JS library like jQuery that has dedicated cross-browser-tested ajax methods to help avoid getting stuck in the trap of managing your own AJAX requests and having to manually test on many browsers. Its probably also worth noting that if the web service you are using does not reside on the same host as the site running and serving your javascript file then you may run into cross-site-scripting restrictions. Yea I'm already using jquery and it's on the same site. I'll need to play around with this. What jquery version are you using? Is it possible, that the jquery v2 doesn't work? Maybe due to old browser support being removed? |
Steve Ronuken
Fuzzwork Enterprises
1609
|
Posted - 2013.07.05 12:48:00 -
[7] - Quote
I'm using 1.8.3 Steve Ronuken for CSM 9!-á I'm starting early :) Handy tools and an SDE conversion Twitter: @fuzzysteve on Twitter |
Ialocin
Veyr The Veyr Collective
0
|
Posted - 2013.07.05 12:52:00 -
[8] - Quote
I'll try to take a 1.9 version, and see if that changes anything. |
Nnaem Kvorr
Fleet-Up.com
12
|
Posted - 2013.07.05 14:18:00 -
[9] - Quote
Ialocin wrote: What jquery version are you using? Is it possible, that the jquery v2 doesn't work? Maybe due to old browser support being removed?
It is possible that JQ version 2 might not work well for the reason you state. I'd certainly test any site functions as you develop them directly in the IGB if you are targetting in-game usage heavily.
I'm still running something like 1.7 or 1.8 on Fleet-Up IIRC. If I get a chance to test JQ v2 in the IGB I'll drop you a mail with my findings. Fleet-Up.com - Your fleet operations, on steroids. |
Ialocin
Veyr The Veyr Collective
0
|
Posted - 2013.07.05 14:25:00 -
[10] - Quote
Well, that was easy. It was the v 2 jquery. I replaced it with 1.10.2 and everything works. |
|
Kid Delicious
Blue Republic RvB - BLUE Republic
2
|
Posted - 2013.07.06 03:47:00 -
[11] - Quote
Thought I'd throw this in there. I ran across it the other day while trying to interrogate the CCPEVE object, might be helpful in the future, since debugging in IGB is a nightmare. You can inject it into your page, details are on the site.
"...It doesn't even support Object.create()" no Function.bind either :(
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |