object(mysqli_result)#13 (5) {
["current_field"]=>
int(0)
["field_count"]=>
int(25)
["lengths"]=>
NULL
["num_rows"]=>
int(1)
["type"]=>
int(0)
}
jquery append() - 程序員論壇 - Powered by Discuz!
程序員論壇
標題: jquery append() [打印本頁]
作者: Redcup 時間: 2020-11-2 02:18
標題: jquery append()
將參數指定的內容插入到匹配元素集中每個元素的末尾。
Insert content, specified by the parameter, to the end of each element in the set of matched elements.- var $newdiv1 = $( "<div id='object1'></div>" ),
- newdiv2 = document.createElement( "div" ),
- existingdiv1 = document.getElementById( "foo" );
-
- $( "body" ).append( $newdiv1, [ newdiv2, existingdiv1 ] );
複製代碼- $( ".container" ).append( $( "h2" ) );
複製代碼
歡迎光臨 程序員論壇 (http://program.thesmartfire.com/) |
Powered by Discuz! X2.5 |