Q:

CodeMirror UnFold using JQuery

Link:

How to click the blue arrow which is a span tag using jquery?
   $('.CodeMirror-foldmarker').click()
   $('.CodeMirror-foldmarker').trigger('click')

A:

$('.CodeMirror')[0].CodeMirror.foldCode(0,null,'unfold')

