Link to home
Start Free TrialLog in
Avatar of scm0sml
scm0sml

asked on

getting text out of jquery response

Hi,

I have the code below:
var x = $.ajax({
        type: "POST",
        url: "Index.aspx/GetUnitState",
        contentType: "application/json; charset=utf-8",
        data: '{course: "' + this.strFullID + '"}',
        dataType: "json",
        async: false
    });

    this.intState = x.responseText.d;

x.responseText = "{"d":"COMPLETED"}"

Whats the best way to get the value of d?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of scm0sml
scm0sml

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of scm0sml
scm0sml

ASKER

got it working