JQuery Tools Tab 初始化:
$("ul.tabs").tabs("div.blueTabViewStack > div");
JQuery Tools Tab 切换:
$('ul.tabs').data('tabs').click(1);
$("ul.tabs").children().get(0).className = "marginLeft8";
$("ul.tabs").children().get(1).className = "tabSelected";
JQuery Ajax Json:
$.ajax({
type:"POST",
url: url,
dataType: "json",
data: {
type: 'execute',
isRest: 'false',
serviceURL: serviceURL,
serviceName: serviceName,
requestEntityType: "",
requestHeaderType: "",
userSoapRequest: userSoapRequest
},
beforeSend: function(){
},
error:function(){
},
success:function(html){
} });
SyntaxHighHighter 动态渲染数据:
var newDiv = $('<pre>',{'id':'serviceResponseContent', 'class':'brush: xml;'});
newDiv.append(html.data);
$("#serviceResponseContentSection").empty();
$("#serviceResponseContentSection").append(newDiv);
//SyntaxHighlighter.BloggerMode();
//SyntaxHighlighter.all();
SyntaxHighlighter.highlight();