Javascript How To Get Previous Textbox Value When Click On Stack

Javascript How To Get Previous Textbox Value When Click On Stack