Pro Theme - Trigger a Modal using javascript

I have a Content Area Modal button in my header, how could i trigger / display it using javascript? My goal is to automatically display / open it on page load if window.location.hash matches a specific string.

The site is located here: https://oakhillag.bitstorm.pro/

The Modal I’m interested in is the give button.

Thanks.

Thanks anyway, but I already figured it out. In case it helps someone else, you can just trigger a click on the element in question after assigning an ID in the editor.

  if (location.hash === "#give") {
    	$('#give-btn-anchor-toggle').trigger('click');
  }

https://oakhillag.bitstorm.pro/#give

Hi There,

Glad you have figure this out and thank your for sharing the solution.

Cheers!