image_button(src = "", name = nil, alt = nil) -> String[permalink][rdoc][edit]-
タイプが image の input 要素を生成します。
- [PARAM]
src: - src 属性の値を指定します。
- [PARAM]
name: - name 属性の値を指定します。
- [PARAM]
alt: - alt 属性の値を指定します。
image_button("url") # <INPUT TYPE="image" SRC="url"> image_button("url", "name", "string") # <INPUT TYPE="image" SRC="url" NAME="name" ALT="string"> - [PARAM]
image_button(attributes) -> String[permalink][rdoc][edit]-
タイプが image の input 要素を生成します。
- [PARAM]
attributes: - 属性をハッシュで指定します。
image_button({ "SRC" => "url", "ALT" => "string" }) # <INPUT TYPE="image" SRC="url" ALT="string"> - [PARAM]