Commit 07a27783 authored by 赵然's avatar 赵然

zr

parent f63c7699
......@@ -75,8 +75,16 @@ $(document).ready(function(){
var value = $("#value_v").val();
$.post("doHbase", {"select":select,"reverse":reverse,"key":key,"value":value},function(data, status){
$("#result").val(data.message);
var result = JSON.stringify(JSON.parse(data.message), null, 2);//将字符串转换成json对象
$("#result").val(result);
});
// var text = document.getElementById('result').innerText; //获取json格式内容
//
// var result = JSON.stringify(JSON.parse(text), null, 2);//将字符串转换成json对象
//
// document.getElementById('result').innerText= result ;
});
......@@ -286,7 +294,7 @@ $(document).ready(function(){
<div class="mws-form-row">
<label>处理结果</label>
<div class="mws-form-item large">
<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result" style="background-color:#ccc">{"success":false}</textarea>
<textarea class="warning" rows="100%" cols="100%" readonly="readonly" id="result" style="background-color:#ccc"></textarea>
</div>
</div>
<div class="mws-button-row">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment