[u][i][b][b]SyntaxError: unterminated string literal
var chart = new Chart($("[/b][/b][/i][/u]
Please reply as soon as possible…
the js code is given below
__CLASS__.'#'.$this->htmlId, "var chart = new Chart($(\"#".$this->htmlId."\").get(0).getContext(\"2d\")).Bar(".$data.",".$options.");" );[/i][/b]
If i call chartjs widget in a view it works fine.But if i call widget through ajax dropdown it doesnot work.