score:1

Accepted answer

Works in all browsers:

$('.highcharts-title','#container').text('some text');

score:1

If you've the chart object then you can use the method setTitle, for details see http://www.highcharts.com/ref/#chart-object.

Otherwise you'll need a different selector for IE as you don't need the child tspan as the title is just a span. (This was with IE8, other version may render it differently).


Related Query

More Query from same tag