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

  • Home
  • SEARCH
  • 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 5992795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:35:01+00:00 2026-05-22T23:35:01+00:00

I could be missing something severely here, but this is just not adding up.

  • 0

I could be missing something severely here, but this is just not adding up.

I built an ajax form which is working perfectly fine with ProtoType.

I am migrating to Jquery, and so I added the jquery libraries etc..

Below is my $ajax submit.. NOTE the jQuery coded loading and success options..

What I cannot figure out is WHY WHY WHY does this work perfectly fine but ONLY if I include the ProtoType and Scriptulaous libraries???? This makes absolutely no sense to me because I am calling my loader with jQuery .show().. Why would ProtoType have any effect on this??

The submit section of my form

echo $ajax->submit('Submit', array('url' => array('controller' => 'plans', 'action' =>    'search_action_ajax'),
'update' => 'ajax_search_div',
'label' => 'Get Quotes >>',
'id' => 'submitButton',
'loading' => '$j("#busy-indicator").show()',
'success' => '$j("#busy-indicator").hide()',
));

I just want to disable ProtoType altogether..

My controller helper is as follows:

var $helpers = array('Js' => array('Jquery'), 'Ajax', 'Html', 'Form', 'Session');

As you can see I am calling in jQuery.

My libraries in my default.ctp

echo $this->Html->script('jquery-1.6.1.min', array('inline' => 'false'));
echo $this->Html->script('jquery-ui-1.8.13.custom.min', array('inline' => 'false'));

Side note:

I also tested the script with the below just to ensure the jQuery was in fact processing:

...'loading' => '$j("#busy-indicator").fadeIn("slow")',...
  • 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-22T23:35:01+00:00Added an answer on May 22, 2026 at 11:35 pm

    the AJAX-Helper is deprecated, you shouldn’t use it anymore.

    Also, you don’t need to specify that you want to use jQuery since this is the default library which will be loaded by CakePHP as you can read here. This doesn’t mean it also gets included! Only the helper will be ready to use it.

    You still can use AJAX, but you need to rewrite your views. You can get the information about how to do that on the manual page for Js-Engine Usage.

    I would also recommend you to read the whole manual-page on the Js-Helper.

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

Sidebar

Related Questions

I'm fairly new to LINQ to SQL, so I could be missing something basic
I've read up on the Command Pattern, and I think I'm missing something. The
I could get at my goals the long way but am hoping to stay
I've been looking at Applying filters when explicitly loading related entities and could not
I'm learning how to work with Oracle and am using C#/Visual Studio. Just as
How do I unit-test a Zend_Form form class I wrote for my application? I
I haven't used Queues<T> to any real degree before, so I might be missing
I am receiving this error when trying to use RedirectToAction, can anyone offer any
Can somebody please demonstrate for me a more efficient Cartesian product algorithm than the
How do I check how much resources a java program uses? In java it

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.