add_action( 'init', 'codex_custom_init' )
function codex_custom_init() {
$labels = array(
'name' =>_x('Books', 'post type general name'),
'singular_name' =>_x('Book', 'post type singular name'),
'add_new' =>_x('Add New', 'book'),
'add_new_item' =>__('Add New Book'),
看你要传入什么值了,可以是moudle分配过来的值 ,也可以是页面中元素的值 ; 用js获取这个值,再写到内容content里面,即可 2. var my_content = $('#xxx').val()layer.open( { title: '标题', content: my_content' })欢迎分享,转载请注明来源:内存溢出
评论列表(0条)