<script>
$(function() {
$( "#city_name" ).autocomplete({
source: 'search.php'
});
});
</script>
any body help pass parameters to search.php
ramsiva
0
Junior Poster
Recommended Answers
Jump to PostInstead of setting search.php as your source, you will need to set your source as a function with an ajax call to search.php.
Not necessarily true. We use jQuery UI for our search autocomplete here on DaniWeb, and do it just as he is. jQuery UI passes in …
All 4 Replies
diafol
grant.baker
10
Newbie Poster
diafol
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.