Skip to Content
0
Jun 21, 2015 at 06:05 AM

How to pass variable in window.open()

1373 Views

Hi Experts,

I want to show feedLink control in window based on click function. what ever values are there in that control, I want to show those values in Window.

How to achieve that?

code:

var feedList = new sap.m.FeedListItem();

var myWindow = window.open("").

feedList.bindPropert("text","path"); // for time being I just binded only text. In feedList I have a value

myWindow.document.write(feedList);

but it showing the following message in my window.

Element sap.m.FeedListItem#__item1

Thanks,

Ashok.