Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 234651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:12:07+00:00 2026-05-11T20:12:07+00:00

I have an ajax->autoComplete working dandy with cakePHP. Now I want to add my

  • 0

I have an ajax->autoComplete working dandy with cakePHP. Now I want to add my own javascript (preferably callback methods) after the request has been executed. I know that there are options associated with the ajaxHelper but I cannot figure out for the life of me how to apply them to the autoComplete function.

I can get ajax->autoComplete('div', 'url', array('with'=> 'console.log("hello")')) to execute BEFORE anything happens the very first time, but none of the other options linked to above work (I think because ‘with’ puts the javascript directly in the address, so obviously it will execute). I have also read the autoComplete API and googled around for a bit, but can’t find any examples or documentation of how to apply options.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:12:08+00:00Added an answer on May 11, 2026 at 8:12 pm

    You are correct, there are AJAX options. And then, there’s this:

    http://api.cakephp.org/view_source/ajax-helper/#line-129

    You can use any of those options in the “options” array.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Ajax autocomplete extender, and it is working fine. However, I want
I now have a working JavaScript autocomplete function, thanks to help from many of
I have an ajax autocomplete extender. I want to pass the value of the
I am using the AJAX autocomplete add-on to the <asp:textbox> control. I have everything
Im trying to get autocomplete-rails.js working in Rails with Ajax, i Have the following
I have an ASP.NET AJAX autocomplete extender with CompletionListCssClass=autocomplete_completionListElement : .autocomplete_completionListElement { width:500px; margin
I have multiple ajax requests with javascript code as response, and I need to
I am trying to get an autocomplete working and making an Ajax form submission
I have a functioning autocomplete box on my site that I want to work
i have an input using the jquery autocomplete plugin. with this i want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.