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
Gaurav Raj
NA
475
87.9k
I am unable to call web service using jquery
Jun 23 2017 2:16 AM
I am unable to call web service using jquery
this is my code
<script type="text/javascript">
$(document).ready(function () {
function loadData(currentPage) {
$.ajax({
url: 'getHomeService.asmx/getHome',
method: 'post',
data: {user:1},
dataType: 'json',
success: function (data) {
var jqueryXml = $(data);
$('#ImageUser').val(jqueryXml.find('Blog_Pic').text());
$('#LiteralTime').val(jqueryXml.find('Date1').text());
$('#Imageer').val(jqueryXml.find('Time1').text());
$('#LinkButtonBlogBy').val(jqueryXml.find('Blogby').text());
$('#ImageUser').val(jqueryXml.find('UserPic').text());
$('#TotalLike').val(jqueryXml.find('TotalLike').text());
$('#TotalComment').val(jqueryXml.find('TotalComment').text());
$('#Button').val(jqueryXml.find('LIKED').text());
$('#LiteralBlog').val(jqueryXml.find('Blog').text());
},error:function( err){
alert(err);
}
Reply
Answers (
1
)
how use third party api.
I want to create a master detail form without Ajax.