ui.Textbox.getValue
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, टेक्स्ट बॉक्स की वैल्यू दिखाता है.
इस्तेमाल | रिटर्न |
---|
Textbox.getValue() | स्ट्रिंग |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: ui.textbox | ui.Textbox | ui.Textbox इंस्टेंस. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]