2007-03-18から1日間の記事一覧
AJAX Tables Color Wheel Draggable Interpreter Key Events Logging Pane MochiRegExp Rounded Corners Sortable Tables view-source 一番、参考になりそうなので、ぼちぼち読んでいく予定。
何度も探す羽目になったので、メモしておく。 # Renders an empty response with status code 200 render :nothing => true # Renders an empty response with status code 401 (access denied) render :nothing => true, :status => 401
<%= javascript_include_tag 'MochiKit' %> とか書いたら、動かない…orz <script src="/javascripts/MochiKit.js" type="text/javascript"></script> と直したら動くようになった。
はじめの一歩ってことで。 doSimpleXMLHttpRequest(url).addCallback(function (xhr) { getElement(id).innerHTML = xhr.responseText; });