Questions tagged [underscore]

JavaScript library for functional programming that doesn’t extend built-in JavaScript objects.

Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

Open media frame and select an attachment

I'm using the following piece of code to open a media frame when clicking a link with a data-attachment_id attribute. This attribute holds the id of an attachment that I want to select when the frame ...