Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3668

how to fetch and display input field text from one page to another?

$
0
0

I wanted to know how to fetch the data using getText function and to display the data on another page using setText function, I am confused, where to put the syntax of getText() and getText().

BTW, I am using a button to redirect from the first page to second.

 

 

I came accross this syntax, but I am not sure, if it is okay or not..

sap.ui.getCore().byId("inp").getText();

sap.ui.getCore().byId("inp").setText();

 

could anyone guide me through it???


Viewing all articles
Browse latest Browse all 3668

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>