Skip to content
This repository was archived by the owner on Nov 11, 2019. It is now read-only.
This repository was archived by the owner on Nov 11, 2019. It is now read-only.

better way #3

@ghost

Description

callback(data);

here you are parsing the request data and then you callback the render function, so you should pass an object not (theData), try to make it this way:
callback(xmlHttp.responseText);
and inside your callback parse the data into js object and then render your dom.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions