我想建立一個鏈式選擇菜單。這是我用的教程:http://railscasts.com/episodes/88-dynamic-select-menus 出錯了,我不知道我錯過了什麼。 的JavaScript var sottocategorie = new Array();
<% for element in @sottocategorie -%>
sottocategorie.pus
是否有可能通過對象/類鏈接所有PHP函數? 我有這個在我的腦海裏,我想象它是這樣的: $c = new Chainer();
$c->strtolower('StackOverFlow')->ucwords(/* the value from the first function argument */)->str_replace('St', 'B', /* the value from th