# Select wix restaurant online ordering category programmatically

**URL:** <https://forum.wixstudio.com/t/select-wix-restaurant-online-ordering-category-programmatically/13672>\
**Category:** Ask the community\
**Tags:** wix-restaurants, code, question\
**Created:** [January 20, 2019, 10:51pm UTC](https://forum.wixstudio.com/t/select-wix-restaurant-online-ordering-category-programmatically/13672 "2019-01-20T22:51:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkubryk](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pkubryk/32/8397_2.png) [@pkubryk](https://forum.wixstudio.com/u/pkubryk)\
**Post date:** [January 20, 2019, 10:51pm UTC](https://forum.wixstudio.com/t/select-wix-restaurant-online-ordering-category-programmatically/13672/1 "2019-01-20T22:51:22Z")

</div>

Is this something which is doable ? The use case is to navigate to the online ordering page with the category set in the query, and have that category automatically selected.  
the online ordering seems to be a black box. I can select it with $w(‘#onlineOrdering’) but do not see what I can do with that object. I could not find a way to write a selector to get the or the

- within the onlineOrdering iframe.

---

<div class="post-metadata">

**Author:** ![carlos-alvarez](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/carlos-alvarez/32/2194_2.png) [@carlos-alvarez](https://forum.wixstudio.com/u/carlos-alvarez)\
**Post date:** [January 21, 2019, 2:10am UTC](https://forum.wixstudio.com/t/select-wix-restaurant-online-ordering-category-programmatically/13672/2 "2019-01-21T02:10:03Z")

</div>

No clue what you’re talking about, I’m not familiar with the API of restaurant’s ordering, if you share a link to the API documentation I can take a look and help you out.

---

<div class="post-metadata">

**Author:** ![pkubryk](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pkubryk/32/8397_2.png) [@pkubryk](https://forum.wixstudio.com/u/pkubryk)\
**Post date:** [January 21, 2019, 5:56pm UTC](https://forum.wixstudio.com/t/select-wix-restaurant-online-ordering-category-programmatically/13672/3 "2019-01-21T17:56:21Z")

</div>

I did not find a front end API. This is an Iframe and looks like a black box.  
Isn’t it possible to just select any dom element using an angular or jquery selector ?
