# Ajax LiveSearch in CakePHP 4

**URL:** <https://discourse.cakephp.org/t/ajax-livesearch-in-cakephp-4/8705>\
**Category:** Need Help\
**Created:** [December 7, 2020, 3:25pm UTC](https://discourse.cakephp.org/t/ajax-livesearch-in-cakephp-4/8705 "2020-12-07T15:25:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirk](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/dirk/32/2174_2.png) [@dirk](https://discourse.cakephp.org/u/dirk)\
**Post date:** [December 7, 2020, 3:25pm UTC](https://discourse.cakephp.org/t/ajax-livesearch-in-cakephp-4/8705/1 "2020-12-07T15:25:18Z")

</div>

I´m trying to implement a databased search in my application.  
For CakePHP 3.xx i found a working example  
[https://github.com/pitocms/cake-3-ajax-search](https://github.com/pitocms/cake-3-ajax-search)

But i can´t get it running on CakePHP4.  
At the Moment i get a XHR Error in my browser Console.

Can anyone help me?
