Click here to Skip to main content
15,921,905 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi, I am using following code for autocomplate textbox. when I press Enter ('#textbox').

then autocomplete property is not dispalying.. why ??

Is any other file is required??


XML
<script src="jquery-1.11.2.js"></script>
    <link href="jquery-ui.css" rel="stylesheet" />
    <script src="jquery-ui.js"></script>

    <script type="text/javascript">
        $(document).ready(function(){
            ('#TextBox1').
        });
    </script>
Posted
Comments
Richard Deeming 31-Jul-15 9:22am    
Are you missing some code from your question, or is that actually what's in your page?

If that is what's in your page, then you'll get a Javascript syntax error, because your code is incomplete. It should probably look something like:

$('#TextBox1').autocomplete( ... some options here ... )
Shrikesh_kale 31-Jul-15 10:37am    
$('textbox1').autocomplete({source :'handler1.ashx'}); I write above code but it not work
Sergey Alexandrovich Kryukov 31-Jul-15 10:21am    
Where is your autocomplete? And, I would say, where is your JavaScript code? What you show is not exactly JavaScript, this is... who knows what.
—SA

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900