追記: URLSearchParams - Web APIs | MDNが使えるならそっちの方が便利。 Search Param付きURL生成 いよいよjQueryを使う必要がなくなってきており、$.ajaxは滅多に使わなくなり、fetchを書くことが増えた。しかし、POSTはまだしもGETでパラメータを送りたい場合、$.ajaxでは var data = { a:1, b:2, c:3 }; $.ajax({ url:'hogehoge', method:'GET', data:data }); とやればよかったものが、fetchの場合はパラメータのkeyとvalueを&で繋いでURLにくっつけるのを自前でやらねばならない。特にURLにSearch Paramsがある場合は?以降を切った後に繋ぎ直さねばならず面倒くさい。 どうにかならないかと調べてみたところ、anchor要素を使うのが良
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く