These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

IGB & Ajax

Author
Chaotic Mind
Republic University
Minmatar Republic
#1 - 2013-05-31 08:27:43 UTC
Hello there,

i've a little website that working pretty well outgame, but all the ajaxrequests aren't working Ingame.

i'm working with jquery and here's the code

Quote:


function aj(nurl,opt,cnt) {
$.ajax({
type: 'POST',
url: 'ajax.php',
data: 'mod='+ nurl +'&'+opt,
success: function(msg){
$("#"+cnt).html(msg);
},
beforeSend: function() {
$("#"+cnt).html(ajloader);
}
});
}



there's no debugger for Ingame Browser is there?

Regards
CM

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#2 - 2013-05-31 09:54:59 UTC  |  Edited by: Steve Ronuken
have a quick poke at:
http://www.fuzzwork.co.uk/invention/inventionbuddy.php

It's a /very/ lightweight ajax page.


jquery ajax /can/ work in the igb (iirc).



Are you seeing the ajax calls in the webserver logs, or is it not getting that far?


You /might/ get something out of the log server ( http://wiki.eveonline.com/en/wiki/Log_Server ) but I've never tried it out with the IGB

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Acid Kanshi
AIFAM
#3 - 2013-05-31 11:21:52 UTC
$.post works with no issues on my website.

EVE-Cost is a manufacturing tool for EVE players. http://www.eve-cost.eu

Chaotic Mind
Republic University
Minmatar Republic
#4 - 2013-05-31 11:51:50 UTC
Steve Ronuken wrote:
have a quick poke at:
http://www.fuzzwork.co.uk/invention/inventionbuddy.php

It's a /very/ lightweight ajax page.


jquery ajax /can/ work in the igb (iirc).



Are you seeing the ajax calls in the webserver logs, or is it not getting that far?


You /might/ get something out of the log server ( http://wiki.eveonline.com/en/wiki/Log_Server ) but I've never tried it out with the IGB


I'll check that out as soon as the server is up again
Chaotic Mind
Republic University
Minmatar Republic
#5 - 2013-05-31 12:20:55 UTC

Quote:

21806 2013.05.31 12:18:51:089 [0531/141850:WARNING:webviewproxy.cpp(1375)] [0] someurl/js/jquery.min.js?seed=1370002730 (line 4) JavaScript error: Uncaught TypeError: Object function Object() { [native code] } has no method 'defineProperty'


I guess I need another jquery library

thanks for the log-server hint
Chaotic Mind
Republic University
Minmatar Republic
#6 - 2013-05-31 12:24:31 UTC
working now, many thanks