| |

VerySource

 Forgot password?
 Register
Search
View: 680|Reply: 3

Ask a question about ajax.net?

[Copy link]

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-3-19 16:00:01
| Show all posts |Read mode
I wrote a function on the server
[AjaxPro.AjaxMethod]
public string str ()
{
...
...
return "ok";
}

Object calls are always returned on client calls.
what happened? ?
Reply

Use magic Report

0

Threads

18

Posts

15.00

Credits

Newbie

Rank: 1

Credits
15.00

 China

Post time: 2020-7-6 06:00:01
| Show all posts
Impossible, you post all the code, and there is js code in the front desk
Reply

Use magic Report

0

Threads

7

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 Japan

Post time: 2020-7-8 13:15:01
| Show all posts
The object appears because ``you are too careless`
Did not notice the small details of the attention`

That is because the data was not obtained`~
Or database changes

Unless ``There is a null value~ That is the problem of value`~
Reply

Use magic Report

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-7-8 17:45:01
| Show all posts
Why no matter what type of data is returned is the type of object,
To use object.value to get the value? ?
Don't understand why you must add .value
what
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list