new id (RSS)

The first day of Javascript

container.appendChild (mes); document.body.appendChild (container); var newpara = container.cloneNode (true); / / true and false distinction document.body.appendChild (newpara); var newpara = containe ...

File upload problem encountered strange, lighttpd forward should not correct, return a http 301, Robbin like mentioned

Scenarios: Upload pictures (post / photos),走不到rails of the create action. Webrick normal use. Observation lighttpd log, forward to the rails of dispatch.fcgi, back are the basic 302 (temporary redirec ...

rails provinces cascade implementation

Page code is as follows: Provinces in the list box: City list box: js: action in the code are as follows: