jQuery日本語リファレンス

jQuery does not mean Japanese Query...

ヌー

Manipulation/API/jQuery

wrapInner(html)

各要素の子要素を、HTMLで作成した要素で囲む。
引数
html
String
HTML文字列
戻り値
jQuery
jQueryオブジェクト
サンプル
サンプル1
各p要素の中身を、b要素で囲む。
<p>Hello</p>
<p>cruel</p>
<p>World</p>
$("p").wrapInner("<b></b>");
[フレーム]
© Copyright 2009 by semooh.jp | Design by Free CSS Templates - Thanks to Dubai Apartments

AltStyle によって変換されたページ (->オリジナル) /