ui.Textbox.getValue
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הפונקציה מחזירה את הערך של תיבת הטקסט.
שימוש | החזרות |
---|
Textbox.getValue() | מחרוזת |
ארגומנט | סוג | פרטים |
---|
זה: ui.textbox | ui.Textbox | המופע ui.Textbox. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון 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. |"]]