{"action":"closed","issue":{"url":"https://api.github.com/repos/zurb/foundation/issues/6405","labels_url":"https://api.github.com/repos/zurb/foundation/issues/6405/labels{/name}","comments_url":"https://api.github.com/repos/zurb/foundation/issues/6405/comments","events_url":"https://api.github.com/repos/zurb/foundation/issues/6405/events","html_url":"https://github.com/zurb/foundation/issues/6405","id":63061395,"number":6405,"title":"Open dropdown programmatically","user":{"login":"josh1324","id":7079356,"avatar_url":"https://avatars.githubusercontent.com/u/7079356?v=3","gravatar_id":"","url":"https://api.github.com/users/josh1324","html_url":"https://github.com/josh1324","followers_url":"https://api.github.com/users/josh1324/followers","following_url":"https://api.github.com/users/josh1324/following{/other_user}","gists_url":"https://api.github.com/users/josh1324/gists{/gist_id}","starred_url":"https://api.github.com/users/josh1324/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josh1324/subscriptions","organizations_url":"https://api.github.com/users/josh1324/orgs","repos_url":"https://api.github.com/users/josh1324/repos","events_url":"https://api.github.com/users/josh1324/events{/privacy}","received_events_url":"https://api.github.com/users/josh1324/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T18:39:04Z","updated_at":"2015-03-21T14:29:43Z","closed_at":"2015-03-21T14:29:43Z","body":"I'm building a shopping-cart with the foundation dropdown so i need a way to open the dropdown programmatically.\r\nIs there any way? \r\n\r\nI tried this:\r\n$(document).foundation('dropdown', 'open', ($('#top-bar-cart'), $('.top-bar-cart-link'));\r\nAnd this:\r\nFoundation.libs.dropdown.open($('#top-bar-cart'), $('.top-bar-cart-link'));\r\n\r\nBut i think the second parameter should be something else, \r\nCould someone help me?\r\n\r\nThanks!"}}