Looking for a sample for Search and zoom to together.

Discussion created by dexconor on Apr 18, 2013
Latest reply on May 9, 2013 by shaun_weston-eagle-co-nz-esridist

I'm working on my school project however javascript api is not easy so far,

so, I've created a map that has search function but now I need out of that result wanted to add "zoom to" button.

I used
this as search but couldn't add "zoom to" with it.
this sample has zoom to button but it was not easy to put these together.

Is there any samples or ways to do that?

Thank you for your time.