LoginSignup
6

More than 5 years have passed since last update.

posted at

「戻る」ボタンの作り方

<!-- ヘッダー -->
<div data-role="header"> 
    <h1>リスト表示</h1> 
    <a href="" data-rel="back">戻る</a>
</div>

href属性は空でよい。data-relをbackに指定する事で
一つ前のページに戻る動作になってくれる。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
6