This is a migrated thread and some comments may be shown as answers.

[Solved] How to pass value to a window

2 Answers 170 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shaza
Top achievements
Rank 1
Shaza asked on 23 Apr 2011, 07:34 PM
Hey,
How can I pass a value to a pop up window on open?
I've tried this but didn't work !
I need to use that value in the pop up window content.

$('#popUpWin').data('tWindow').center().open(value);

2 Answers, 1 is accepted

Sort by
0
nachid
Top achievements
Rank 1
answered on 25 Apr 2011, 09:02 AM
$('#popUpWin').data('tWindow').content(value).center().open();
0
Sam
Top achievements
Rank 1
answered on 15 Jun 2012, 05:35 PM
hi nachid,

quick question, once the "value" is passed into  .content(value), how does one retrieve/use that value from within the popup window?

thank you
Tags
Window
Asked by
Shaza
Top achievements
Rank 1
Answers by
nachid
Top achievements
Rank 1
Sam
Top achievements
Rank 1
Share this question
or