Get textbox value in new window using Jquery -


I have a text box with every right-hand button, when Jquery is being used on a new window when the text is pressed needed. For the demo, you can see the Jacqueline Lightbox plug-in that shows images in a new window. I want exactly the same, but instead of images, I want to show the text value of the text box when the button is pressed.

Please tell me how can I do this?

You can do this:

  var win = window .open (); Var doc = win.document; Doc.write ($ ('# textbox_id') Val ().); Doc.close ();  

Comments