I have created a div using jquery that i want to make a dialog. I want to append another div in that dialog before opening it. How can i do that??
create create
原标题:create dialog without id and append in jquery
问题回答
页: 1 反对:
$("div#dialog").append("<div></div>");
2. 创造新的支离破碎块,并给它以旧的残 d
var newDiv = $(document.createElement( div )); //Note 1
$("#ID_OF_OLD_DIV").appendTo($(newDiv));
$(newDiv).dialog();//or what ever you are using
Nte 1: from .
相关问题
热门标签
- winforms
- combobox
- fogbugz
- java
- date
- internationalization
- asp.net
- iis
- url-rewriting
- urlrewriter
- c#
- enums
- ocaml
- haxe
- algorithm
- string
- viewstate
- .net
- c++
- c
- symbol-table
- mysql
- database
- postgresql
- licensing
- migration
- vb.net
- vb6
- declaration
- vb6-migration
- python
- psycopg2
- backup
- vmware
- virtualization
- gnu-screen
- authentication
- desktop
- excel
- xll
- cultureinfo
- regioninfo
- oracle
- client
- session
- download
- html
- virtual
- constructor
- scenarios
- perl
- full-text-search
- javascript
- ajax
- testing
- oop
- inheritance
- vim
- encapsulation
- information-hiding