开发者

calling a page method with jquery not responding on server?

开发者 https://www.devze.com 2023-02-27 14:20 出处:网络
I am calling a aspx page method with jquery on aspx page to check if id and email is not already registered. It was working fine on localhost but as I deployed it on hosting serverit stopped working.

I am calling a aspx page method with jquery on aspx page to check if id and email is not already registered. It was working fine on localhost but as I deployed it on hosting server it stopped working.

I have placed alerts in javascript code and come to know either page method is not being called or a reply is not being returned from page method because alert on success or failure functions never appears. Probably it is some path or permission issue.

My page url is like http://site.com/site1/Profile2.aspx

and in jquery code I am 开发者_JS百科giving path as var url="Profile2.aspx/checkIDPwd"; can page's being complied change page name ? plz guide and help me.


try:

var url="/site1/Profile2.aspx/checkIDPwd";
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号