如何以编程方式触发svg矩形元素中的click事件?喜欢:$("#targetElm").triger("click");
<svg version="1.1" class="highcharts-root" style="font-family:MontserratRegular;font-size:12px;" xmlns="http://www.w3.org/2000/svg" width="441" height="319.5" viewBox="0 0 441 319.5">
<desc>Created with Highcharts 6.0.1</desc>
<defs>
<clipPath id="highcharts-74tub7h-41">
<rect x="0" y="0" width="255" height="275" fill="none"></rect></clipPath></defs>
<rect fill="none" class="highcharts-background" x="0" y="0" width="441" height="319.5" rx="0" ry="0"></rect>
<rect fill="none" class="highcharts-plot-background" x="156" y="10" width="275" height="255"></rect>
<g class="highcharts-pane-group"></g>
<g class="highcharts-grid highcharts-xaxis-grid ">
<path fill="none" class="highcharts-grid-line" d="M 156 15.5 L 431 15.5" opacity="1"></path>
<path fill="none" class="highcharts-grid-line" d="M 156 36.5 L 431 36.5" opacity="1"></path><path fill="none" class="highcharts-grid-line" d="M 156 56.5 L 431 56.5" opacity="1"></path><path fill="none" class="highcharts-grid-line" d="M 156 …Run Code Online (Sandbox Code Playgroud)