try:
$('#topic1').focus(function(){ $('#topic1').onChange(0,true);}

On Sep 9, 8:57 am, Shelane <[EMAIL PROTECTED]> wrote:
> To no avail, I tried adding this line:
>
> $('#topic1').trigger('keydown');
>
> I also tried it as:
>
> $('#topic1').trigger('keypress');
>
> to make this function like this:
>
> $('#topic1').focus(function(){
>         $('#topic1').search();
>         $('#topic1').trigger('keydown');
>
> });
>
> neither caused it to work.
>
> As I did mention, the .search worked to cause the query to go to the
> server and the server returned results, but the results weren't
> displayed.
>
> On Sep 8, 11:11 am, "[EMAIL PROTECTED]"
>
> <[EMAIL PROTECTED]> wrote:
> > Sorry I wasn't very clear, I don't mean to have your users do that, I
> > mean it gave you a clue how that function worked.
> > You need to add an on-focus event to the field that then bubbles a key-
> > up event that will trigger the autocomplete for the user.
>
> >http://docs.jquery.com/Release:jQuery_1.2/Events
>
> > On Sep 8, 11:07 am, Shelane Enos <[EMAIL PROTECTED]> wrote:
>
> > > This worked.  Thanks.
>
> > > Now, if I can just get something for question 2 :-)
>
> > > On 9/8/08 10:45 AM, "MorningZ" <[EMAIL PROTECTED]> wrote:
>
> > > > For
>
> > > > "Can you submit additional parameters based on the value of another
> > > > input field?"
>
> > > >http://docs.jquery.com/Plugins/Autocomplete#Dependencies_between_fields

Reply via email to