dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Mulone

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    1,844

    AJAX Issue with Ajax.request + JSON

    Hi guys,
    I'm making this ajax call:


    url = "/GeoAdaptaApp/geoLogger/logGuiEvents?json="+aLotOfJSONStuff;
    encUrl = encodeURI(url,"UTF-8");

    new Ajax.Request(encUrl, { ...
  2. AJAX How to access calling object in OnSuccess/OnFailure?

    Hi guys,
    I'm making this ajax call:


    new Ajax.Request(url, {
    method: 'get',
    onSuccess: function(transport) {
    this.contextReady = true;

    },
  3. Replies
    7
    Views
    1,973

    Thanks for your answer! Actually the "that"...

    Thanks for your answer!
    Actually the "that" solution seems a bit akward... What's the proper way of handling this?
    I wanted to create a class containing all the logic I need, but maybe in JS I...
  4. Replies
    7
    Views
    1,973

    Thanks for your answer! Actually I'm calling...

    Thanks for your answer!
    Actually I'm calling this function from another function:


    MouseLogger.prototype.addGuiEvent = function(e) {
    if (e){
    this.eventsQueue.push(e);
    //log.debug("queue...
  5. Replies
    7
    Views
    1,973

    Issue with function in prototype class

    Hi all,
    I'm trying to build a class this way:


    function MouseLogger() {
    this.fps = 2;
    this.state = 0; //0 = stop, 1 = play, 2 = record
    // recorded coordinates
    this.eventsQueue = new...
Results 1 to 5 of 5
HTML5 Development Center



Recent Articles