AOK's JavaScript Sample
動作確認:○Firefox97(Win7) ○Chrome98(Win7)
Last Update: Mar.7,2022

■ ページ呼び出し時に渡された引数を解析する

  1. get_arg.html?name=Remi Kawashima&team=chakuchaku J.b
  2. get_arg.html?Remi#Kawashima
  3. get_arg.html?name=川島令美
  4. get_arg.html?姓=川島&名=令美
  5. get_arg.html?姓=Kawashima&名=Remi
  6. get_arg.html?name=%u304B%u308F%u3057%u307E%20%u308C%u307F(Unicode)
  7. get_arg.html?charset=shift-jis&name=%83J%83%8F%83V%83%7D%83%8C%83%7E(シフトJIS)
  8. get_arg.html?charset=utf-8&name=%E5%B7%9D%E5%B3%B6%E4%BB%A4%E7%BE%8E%EF%BC%88%EF%BD%B6%EF%BE%9C%EF%BD%BC%EF%BE%8F%EF%BE%9A%EF%BE%90%EF%BC%89(UTF-8)
  9. get_arg.html?charset=euc&name=%C0%EE%C5%E7%CE%E1%C8%FE%A4%C1%A4%E3%A4%F3(EUC)
url:
parameter:

■ ソース

関連: utf8.js, jcode.js, escape.js


戻る Copyright (c) 2003, 2005, 2006, 2009, 2017, 2022 AOK. All Rights Reserved.