getResponse()->addJavascript(sfConfig::get('app_sfJQueryPlugin_library_path', 'jq/jquery'), 'first'); /** * Periodically calls the specified url ('url') every 'frequency' seconds (default is 10). * Usually used to update a specified div ('update') with the results of the remote call. * The options for specifying the target with 'url' and defining callbacks is the same as 'link_to_remote()'. */ fun
symfonyはデフォルトでprototype.jsが組み込まれているのですが、prototype.jsの代わりに、jQueryを使いたい場合、やり方がいくつかあります。1.プラグインのsfJqueryPluginを使う下記のURLからプラグインのsfJqueryPluginをインストールします。http://trac.symfony-project.com/wiki/sfJqueryPlugin $ symfony plugin-install http://plugins.symfony-project.com/sfJqueryPlugin http://docs.jquery.com/Downloading_jQueryから最新版のminifiedをダウンロードする。web/js/jq/にjQueryのソースを置いてシンボリックリンクをはる。 $ ln -s jquery-1.2.6
1リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く