Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ui.Textbox.getValue
Stay organized with collections
Save and categorize content based on your preferences.
Returns the value of the textbox.
Usage | Returns | Textbox.getValue() | String |
Argument | Type | Details | this: ui.textbox | ui.Textbox | The ui.Textbox instance. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eTextbox.getValue()\u003c/code\u003e is a method that returns the string value of a textbox element.\u003c/p\u003e\n"],["\u003cp\u003eIt's used to retrieve the current content entered by the user in the designated textbox.\u003c/p\u003e\n"],["\u003cp\u003eThis method takes the \u003ccode\u003eui.Textbox\u003c/code\u003e instance as an argument to specify which textbox to extract the value from.\u003c/p\u003e\n"]]],[],null,["# ui.Textbox.getValue\n\n\u003cbr /\u003e\n\nReturns the value of the textbox.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|---------|\n| Textbox.getValue`()` | String |\n\n| Argument | Type | Details |\n|--------------------|------------|--------------------------|\n| this: `ui.textbox` | ui.Textbox | The ui.Textbox instance. |"]]