1234567891011121314151617181920212223242526272829303132333435 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>wd</title>
- <script type="text/javascript">
- $(function(){
- if ($("#mcid").val() > 0) {
- var chartADiv = $("#chartE");
- $("#chartDiv_K").attr("style", "width:" + (chartADiv.width()) + "px");
- $("#chartDiv_K").attr("style", "height:" + (chartADiv.height() - 30) + "px");
- jQuery.ajax({
- type : "get",
- url : "getHkClientPHTjt.htm",
- data : {"mcid" : $("#mcid").val()},
- dataType : "json",
- async : true,
- success : function(data) {
- /* if (data.color.length == 0) {
- $("#chartDiv_K").html("<img src='views/hkclient/sy/syph.jpg' width='100%' height='100%'/>");
- } else { */
- getHighchartTjt(data, "chartDiv_K");
- /* } */
- }
- });
- }
- });
- </script>
- </head>
- <body>
- <input type="hidden" id="mcid" value="$!mcid"/>
- <div>
- <div id="chartDiv_K"></div>
- </div>
- </body>
- </html>
|