当前位置: 首页 > 工具软件 > jQuery Tools > 使用案例 >

JQuery Tools Tab

苏丰茂
2023-12-01

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();


 

 类似资料:

相关阅读

相关文章

相关问答