Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70432

How to show get data that take from one page to another?

$
0
0

@anespa wrote:

Dear Friends,

I can take form value data from one page to another using Navigation and can alert that value in respective .ts file. But my doubt is how I can show it properly in the html form…

My function to go next page is :

 goToPay(username,color){
  this.navCtrl.push(this.payPage, {
          userData: "user"+"="+username+"&clr="+color
      });
 }

But on display same in .html i get it as

user=lops&clr=Julianne.OConner@kory.org

My need is show it in html as

User : lops

Color: Julianne.OConner@kory.org

Please advise a simple solution for same

Thanks

Anes

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70432

Trending Articles



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