How to write jquery return function
<p>I have created one menu using div animating in the middle i have structured. present when i clicked on open button that div menu is expending to right side some fixed width. but my requirement is after expanded the menu instead of open "close" word need to append. when click on "close" div menu should collapse to previous width and "open" will come instead of close.  </p>
