jsヘルパー

1 件の記事

2011

Jsヘルパーを使ってAjaxしてみる

cakePHPになってからajaxヘルパーからHtmlとJsヘルパーを使う方向になったと思うんですが、なかなか試す機会がなかったです。 ajaxヘルパーすらあまり使っていませんでしたが・・・w Jsヘルパーつかって普通にAjaxでリストをとってくる場合はこんな間じです。 (※Hogeコントローラのindexメソッドから…

Photo: Jaz. Mine / Unsplash LicensePhoto: Se. Tsuchiya / Unsplash LicensePhoto: Sergio / Unsplash LicensePhoto: Robert Bant / Unsplash LicensePhoto: Zhi Xuan Hew / Unsplash License