Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8808

Re: Getting Started - Not seeing newly created View in browser

$
0
0

Hi Jason,

 

 

Use below code.It's working fine

 

createContent : function(oController) {

          var myButton = new sap.ui.commons.Button("btn");

 

          myButton.setText("Hello World");

 

          myButton.attachPress(function(){$("#btn").fadeOut();});

 

          return myButton;

    }

 



 

For UI5 applications you have to disable web security,If you didn't apply use below link

 

http://stackoverflow.com/questions/3102819/chrome-disable-same-origin-policy

 

 

Regards

Shruti


Viewing all articles
Browse latest Browse all 8808

Trending Articles



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