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
kuldeep suman
1.5k
247
1.9k
Auto Complete text box not working in Master's content page
Oct 2 2016 11:34 AM
<head runat="server"><br /> <title>AutoComplete Text Box using jQuery in ASP.NET</title><br /> <link href="jquery-ui.css" rel="stylesheet" type="text/css" /><br /> <script src="jquery.min.js" type="text/javascript"></script><br /> <script src="jquery-ui.min.js" type="text/javascript"></script><br /> <br /> <script type="text/javascript"><br /> $(document).ready(function() {<br /> SearchText();<br /> });<br /> function SearchText() {<br /> $("#txtEmpName").autocomplete({<br /> source: function(request, response) {<br /> $.ajax({<br /> type: "POST",<br /> contentType: "application/json; charset=utf-8",<br /> url: "Default.aspx/GetEmployeeName",<br /> data: "{'empName':'" + document.getElementById('txtEmpName').value + "'}",<br /> dataType: "json",<br /> success: function(data) {<br /> response(data.d);<br /> },<br /> error: function(result) {<br /> alert("No Match");<br /> }<br /> });<br /> }<br /> });<br /> }<br /> </script><br /><br /></head>
Reply
Answers (
3
)
MVC Partial views changes the reference of css,Images and js
Consuming Webservice