不返回表单字段值
var formJSON = $.toJSON($('#form1'));
JSP是:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.
我在厚盒子上有隐藏字段,当我关闭厚盒子时,我需要获取隐藏字段的值,当关闭厚盒子时,这个方法调用
function tb_remove(parent_func_callback) {
parent.document.getElementById('hdf').value// I need value of hidden field here
请告诉我怎样才能得到厚盒子上的隐藏字段值?
例如,我有abc页面,我点击heyperlink从abc页面,然后页面xyz打开作为厚框,在xyz厚框我有隐藏字段名hdf,现在我点击关闭按钮的厚框,tb_remove是在thickbox.js文件
我在博客上的4个地方使用自定义字段。我在高级自定义字段中输入了默认值,但没有打印任何内容。
<?php
global $formTitle;
global $formSubtitle;
global $formBackground;
$formTitle = get_post_custom_values( 'title' );
$formSubtitle = get_post_custom_values( 'description' );
if (!$form