私はまだjQueryを使い慣れていません。jQuery関数が内部で呼び出されたのはどういうことでしょうか?jQuery関数は内部でのみ動作します。
たとえば、これは動作します:
$(document).ready(function() {
$('#field1').click(function() {
$('#result').load('/random_post #post');
});
});
しかし、これはしません:
$('#field1').click(function() {
$('#result').load('/random_post #post');
});
http://docs.jquery.com/Tutorials:Getting_Started_with_jQueryには理由が説明されています。 –