TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
guna bathina
NA
96
7.4k
Uncaught SyntaxError: Unexpected token : in jquery with webs
Nov 5 2017 7:48 AM
when am trying aceess a webservice remotely am getting Uncaught SyntaxError: Unexpected token error but service works properly and returns output as aURL
http://localhost:53830/sample.asmx/getPinnumber?callback=jQuery31105488972800365737_1509872462552&mobileNumber=9030733573&Imei=123456789012345&_=1509872462553
O/P:
{"Status":200,"Response":"1234"}
jquerycode:
$.ajax({
type:
"GET"
,
url:
"http://localhost:53830/sample.asmx/getPinnumber"
,
contentType:
"application/json; charset=utf-8"
,
data: { mobileNumber: 9030733573, Imei:
"123456789012345"
},
dataType:
"jsonp"
,
success:
function
(json) {
alert(json.d);
},
error:
function
() {
alert(
"Hit error fn!"
);
}
});
Reply
Answers (
0
)
Auto-Complete People Picker In SharePoint Using Jquery
how can create people Picker ?