20211008

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
20211008 [2021/10/08 08:15] 133.11.144.1020211008 [Unknown date] (現在) – 削除 - 外部編集 (Unknown date) 127.0.0.1
行 1: 行 1:
-====== 20211008 ====== 
  
-===== ローカルでjQueryを使う ===== 
- 
-jQueryの仕様変更の影響を受けないように、ローカルにjQueryのスクリプトをダウンロードし、使用したい。 
- 
-まず[[https://jquery.com/download/]]から[[https://code.jquery.com/jquery-3.6.0.js]]をダウンロードし、public/javascrptディレクトリに配置する。 
- 
-jQueryを使用したいHTMLファイル上で以下のscriptタグで読み込む。 
- 
-    <script src='javascript/jquery-3.6.0.js'></script> 
- 
-参考にしたサイト:[[https://techacademy.jp/magazine/9482]] 
- 
-===== Ajaxでキャプチャエリア内のサンプル情報を非同期的にやり取りする ===== 
- 
-マップの移動・拡大・縮小のイベント発生時にAjaxでサーバに非同期的にキャプチャエリア内のサンプル情報を送信する。 
- 
-            $.ajax({ 
-                url: './', 
-                type: 'POST', 
-                cache: false, 
-                dataType: 'json', 
-                data: {capturedSampleList: capturedSampleList}, 
-            }) 
-            .done(function(response){ 
-                console.log("success"); 
-            }); 
  • 20211008.1633680930.txt.gz
  • 最終更新: 2021/10/08 08:15
  • by 133.11.144.10