# Load Modal html by ajax in view Cakephp 3.2

**URL:** <https://discourse.cakephp.org/t/load-modal-html-by-ajax-in-view-cakephp-3-2/974>\
**Category:** Need Help\
**Created:** [August 14, 2016, 8:20am UTC](https://discourse.cakephp.org/t/load-modal-html-by-ajax-in-view-cakephp-3-2/974 "2016-08-14T08:20:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehdifathi](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/mehdifathi/32/241_2.png) [@mehdifathi](https://discourse.cakephp.org/u/mehdifathi)\
**Post date:** [August 14, 2016, 8:20am UTC](https://discourse.cakephp.org/t/load-modal-html-by-ajax-in-view-cakephp-3-2/974/1 "2016-08-14T08:20:56Z")

</div>

Hello guys.I have a problem in View cakephp 3.2.when i am going to make modal in cakephp after load i can see my content after 2 second modal redirect to Home page !.I checked console log in fire [bug.It](http://bug.It) seems sent ajax request for my modal but my modal is loaded without ajax request.I don’t want load modal with [ajax.do](http://ajax.do) you have Experience in this problem? Thanks .
