Hi Scott,
So I've had another go at this.
This time I put the code on a button, so I'm sure there's not a timing issue:
alert('got here');
$('.dnnToggleMax').trigger('click');
But it doesn't work.
Using Inspect Element I can see that the dnnToggleMax class is nested as follows:
$('.dnnFormPopup .dnnModalCtrl a.dnnToggleMax').trigger('click');
$('.dnnFormPopup > .dnnModalCtrl > a.dnnToggleMax').trigger('click');
But alas, this doesn't work either.
Steve