1. 判断div是否隐藏
$('#gotobuy #v_code').is(':hidden')
2.显示div
$('#gotobuy #v_code').show();
隐藏div
$('#gotobuy #v_code').hide();
获取自己的对象并设置text的值
$(this).text('修改手机');
js中对象转json
JSON.stringify(obj)
JS中JSON转对象
JSON.parse(json)
PHP JSON转数组
json_decode($str)
PHP 数组转json
json_encode($str,true)