how do you create a simple button with text that opens up another window in unity, while using js?
One way would be to program it
You should spend some time coming up with a title for your forum post and explaining whatever it is you are trying to achieve. People cannot really help unless you are more specific
Do you want to create a custom editor window or some sort of virtual window in-game?
Where should the button live?