php autosuggestion from array Programming Web Development by Stefce … have a 16 input fields so i want to make autosuggestion when i will write the first letter of any array… Re: php autosuggestion from array Programming Web Development by Stefce Thanks alot and i have another question, why the autosuggestion works just on the first field and not in others? autosuggest with along with seperate dropdown menu Programming Web Development by DamzWildfire I have a drop-down menu with different categories onece a category is selected i have a text box which accepts the type. this text box is an autosuggestion text. so whenever i select a category from the dropdown menu on the things that are within that category should be displayed in the autosuggestion text box. need help asap get caret coordinates Programming Web Development by patocardo Hi: I'm trying to set a dropdown autosuggestion inside a textarea or a rich textarea (iframe+designmode). The … Auto suggestion in php Programming Web Development by ursrathika hai experts i am a beginner in php....how to create autosuggestion box in search page..and how to create search box... pls give me the solution.... Re: Auto suggestion in php Programming Web Development by mrcniceguy Also check this one,is good one)) [url]http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html[/url] problem to create editable combo box in ajax Programming Web Development by sandipan.rcciit Hi frnds, I found a code that is make autosuggestion text box according to user input. i make some changes … Jquery Autocomplete Programming Web Development by programmer12 …) into my current codes. **Thanks in advance (see codes below)** (autosuggestion.php) <html> <head> <title>… Autoseggestion styling Programming Web Development by DamzWildfire … to a jquery file that i have to display the autosuggestion results.when its in the body of my other page… Re: Autoseggestion styling Programming Web Development by LastMitch … to a jquery file that i have to display the autosuggestion results.when its in the body of my other page… Re: keywords insertion with php Programming Web Development by muralibobby2015 without comma it will consider only one tag. for auto suggestions go through this [URL="http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html"]http://www.9lessons.info/2009/06/autosuggestion-with-jquery-ajax-and-php.html[/URL] Re: php autosuggestion from array Programming Web Development by pixelsoul You won't be able to do it with just PHP. jQueryUI would be the best plug and play solution for an autocomplete. http://jqueryui.com/autocomplete/ Re: php autosuggestion from array Programming Web Development by JorgeM Have you considered handling the auto suggest client side using js/jQuery? You would use the keyup event. (JQuery) then pass the value using Ajax back to your PHP script. Then your script returns the results to your client. Otherwise, without client side help you would have to post back ( reload the page) to allow the PHP script to process the … Re: php autosuggestion from array Programming Web Development by pixelsoul And here is an example of jQuery autocomplete using ajax like JorgeM mentioned http://jqueryui.com/autocomplete/#remote-jsonp Re: php autosuggestion from array Programming Web Development by Stefce @pixelsoul wow this actualy really helped thanks alot men and like i said **DaniWeb for life :D :D** Re: autosuggest with along with seperate dropdown menu Programming Web Development by diafol You don't ask a question. What's the problem? Post your code. Our crystal balls are depleted of energy. ARe you sure this is php? sounds more like javascript. Re: autosuggest with along with seperate dropdown menu Programming Web Development by JorgeM There is a duplicate post in the JavaScript forum as well. It would help if we can follow one thread. Re: autosuggest with along with seperate dropdown menu Programming Web Development by diafol OK, the js post has been deleted by the looks of it, so this is the thread to use. Re: Auto suggestion in php Programming Web Development by as.bhanuprakash The auto suggestion can be done using AJAX. To learn ajax you can go through the tutorials [url]http://w3schools.com/ajax/default.asp[/url] Re: Autoseggestion styling Programming Web Development by DamzWildfire Jquery Code $(document).ready(function() { $('.autosuggest').keyup(function () { var search_term = $(this).attr('value'); // read the values of the select elements (drop downs) // read the value of category var category=$('#category').attr('value'); // if we have less than 3 chars just exit the… Re: Autoseggestion styling Programming Web Development by LastMitch **@DamzWildfire** The html code you provided is very incomplete. I realized that you are asking someone to write the whole html code with your **JQuery**. I don't write code I only help you half way but so far you only provide **<div>** tags? Used this code instead because the html code makes more sense than yours: http://papermashup.com… Re: Autoseggestion styling Programming Web Development by DamzWildfire wasnt asking to write html code already have my html code just need the help. Re: Autoseggestion styling Programming Web Development by LastMitch >wasnt asking to write html code already have my html code just need the help. Help With what? You only provide a **<div>** & **<ul>** tags. This is you **HTML**: <div class="dropdown"> <ul class="result"> </ul> </div> I don't know what is the "**<div … Re: Autoseggestion styling Programming Web Development by broj1 So you are saying that the dropdown div is pushing the content down to make room for autosuggestions? If yes, post the CSS for the dropdown class. Re: Autoseggestion styling Programming Web Development by DamzWildfire @broj1 yeah that what its doing. CSS @charset "UTF-8"; /* CSS Document */ .autosuggest, .dropdown, .result{ margin:0; border:0; padding:0; width:120px; font-weight:bold; font-size:12px; } .autosuggest{ padding:2px; border:0px solid #000; } .… Re: Autoseggestion styling Programming Web Development by broj1 I am not an expert in CSS so I will give it a try but I do not claim I am 100% right. JQuery function puts the result in the `ul` element. For this reason the `ul` element grows and pushes the content below it further down. If you want it not to affect the contents around it the position property should be set to `absolute` while the position of … Re: Autoseggestion styling Programming Web Development by DamzWildfire so the CSS would now look like this : @charset "UTF-8"; /* CSS Document */ .autosuggest, .dropdown, .result{ position:relative; margin:0; border:0; padding:0; width:120px; font-weight:bold; font-size:12px; } .autosuggest{ padding:2px; border:0px solid #… Re: Autoseggestion styling Programming Web Development by LastMitch **@DamzWildfire** Take away the width in either one: .autosuggest, .dropdown, .result{ position:relative; margin:0; border:0; padding:0; width:120px; font-weight:bold; font-size:12px; } .result{ width:126px; list-style:none; position:absolute; top:100000px; } You have **2** … Re: Autoseggestion styling Programming Web Development by DamzWildfire doesnt seem to work Re: Autoseggestion styling Programming Web Development by broj1 Post the complete html, css and ajax code, plus the database structure with some data (in CREATE TABLE... and INSERT INTO.. SQL statements, so I can just copy them to phpmyadmin) and I can have a look at it tomorow if time permits. You can also send it to my PM if you prefer.