05 2015 档案

摘要:HTML: Javascript:$('#myIframe')[0].src='example.htm';$('#myDlg').dialog('open'); 阅读全文
posted @ 2015-05-29 09:28 rongbin 阅读(236) 评论(0) 推荐(0)
摘要:有时需要通过json 传送函数,但是php的json_encode会带上引号。下面是解决方案:http://solutoire.com/2008/06/12/sending-javascript-functions-over-json/PHP:// Our sample array$foo = ar... 阅读全文
posted @ 2015-05-28 14:02 rongbin 阅读(185) 评论(0) 推荐(0)
摘要:Problem:Below error encounterred when connecting to remote server in PHP code.Access denied for user 'root'@'192.168.233.163' (using password: YES)Sol... 阅读全文
posted @ 2015-05-26 16:59 rongbin 阅读(424) 评论(0) 推荐(0)
摘要:Below code will help to show onlymain range of data, the rest data which are not interested will be represented with same value but the actual data wo... 阅读全文
posted @ 2015-05-21 14:18 rongbin 阅读(137) 评论(0) 推荐(0)
摘要:Problem: Date MismatchBefore:The actual data in db:Data passed:Solution:Add below codes: Highcharts.setOptions({ // This is for all plots, change Dat... 阅读全文
posted @ 2015-05-19 12:10 rongbin 阅读(95) 评论(0) 推荐(0)
摘要:PHP code header("Content-type: text/json"); $items = array(); while($row = mysql_fetch_object($rs)){ $newDT = strtotime($row->dt) * 1000; $pa... 阅读全文
posted @ 2015-05-18 18:36 rongbin 阅读(125) 评论(0) 推荐(0)
摘要:如何避免插入相同的serials, $('#tester_tree').tree({ onClick: function(node){ /** Loop through series to check if tester is already plotted, donot insert ... 阅读全文
posted @ 2015-05-18 10:45 rongbin 阅读(106) 评论(0) 推荐(0)
摘要:We need extra info to show when moving cursor to point.Javascipts: formatter: function() { var rV = null; $.ajax({ dataType: "json", url: 'get... 阅读全文
posted @ 2015-05-15 13:56 rongbin 阅读(170) 评论(0) 推荐(0)
摘要:When bind ajax to tooltip, we wantonly show tooltip when cursor is hovering directly on the data pointApply below settingplotOptions: { series: { ... 阅读全文
posted @ 2015-05-15 13:50 rongbin 阅读(114) 评论(0) 推荐(0)
摘要:When using tree module from easyUI framework, click will not fired using below method:Html codeTESTER01TESTER02TESTER03 Wrong method:$('.tester').cli... 阅读全文
posted @ 2015-05-15 10:31 rongbin 阅读(165) 评论(0) 推荐(0)
摘要:Yesterday when I use highchart to draw line chart.When I add new serial, highchart failed to update, even I called redraw function. Only redraw when b... 阅读全文
posted @ 2015-05-15 09:38 rongbin 阅读(133) 评论(0) 推荐(0)