Questions tagged [new-window]

224 questions
0
votes
1 answer

TCPDF open pdf links in new window using javascript

How to open links (in pdf document) in new tab or window by using javascript ? This one is not working : Click This one is not working too : $js =…
Yasin Yörük
  • 1,500
  • 7
  • 27
  • 51
0
votes
1 answer

pass form data in a new window to edit and save

I'm trying to figure out how to pass form data collected from sql database to a new window. The idea is when the user click 'Rediger' (edit), that a new small window will open up with the current data and an input field for the user to change the…
M Nielsen
  • 67
  • 1
  • 9
0
votes
2 answers

Building dynamic links in Javascript

I have this code below: for (var index in mv.exifImages) { var p = document.createElement("p"); var oText = document.createTextNode("link" + index); p.appendChild(oText); var info = mv.exifImages[index]; …
Jacob
  • 3,580
  • 22
  • 82
  • 146
0
votes
0 answers

Automatically fetch fresh PDF document when opening in new window

I know that headers can ensure a page that is fetched is always fresh: How to control web page caching, across all browsers? But I just need to fetch a PDF in a new window. I'm using the following code to fetch the PDF, but how can I make sure the…
user961627
  • 12,379
  • 42
  • 136
  • 210
0
votes
2 answers

How to open multiple windows with jQuery/js and trigger a form submit event?

Given a comma-separated string of URLs, I want to open a separate window for each element of its converted-to array, then submit a form. The following code only opens one window, and no form submit takes place: $.each(urlList.split(","), function…
ElHaix
  • 12,846
  • 27
  • 115
  • 203
0
votes
1 answer

How can I use the RowDataBound declaration on a GridView to navigate away to new .aspx page with Specific window size

I used the following code in rowdatabound event if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes["onClick"] = string.Format("window.location = 'CandidateProfile.aspx?candidateID={0}';", DataBinder.Eval(e.Row.DataItem,…
Shameel Faraz
  • 78
  • 1
  • 6
0
votes
1 answer

if a link is clicked - open a pop-up, but if somebody clicked it with open in new tab, a new tab should open

is there any framework (jquery, or anything else) or any java script which can handle this problem: if a link is clicked: open a popup if somebody clicks with: middle mouse click or with right-click: open in new tab, it should open in a new…
Joergi
  • 1,527
  • 3
  • 39
  • 82
0
votes
1 answer

How to open a link in a select box in a new window?

How can I open each link in this select box in a new window?
CK-idiot
  • 107
  • 1
  • 2
  • 8
0
votes
3 answers

Refreshing a page that opened a new tab/window

I'm currently writing an internal application that handles our company's billing using MVC 3. One of the requirements that Finance has is that a user can access a particular Client's Properties (A one-to-many relationship) through a tab control on…
Corey Adler
  • 15,897
  • 18
  • 66
  • 80
0
votes
2 answers

using dynamic data in a javascript method

I'm new at php and JavaScript so I hope you can help me! below is a php code! it take data from my db and display my photos and photo's title. what I want to do is if you click on one of this photos and than a new php expe: photo.php opens and you…
0
votes
1 answer

Gedit open in new window then new tab

What I'm trying to do is make Gedit open a new window then in that new window open a new tab while having Gedit already open. The script I'm writing is a little big, 570 lines, so here is kind of an except of it. File1="test" File2="test2" function…
vis.15
  • 751
  • 8
  • 18
0
votes
1 answer

how to force open new tab / window for javascript?

I want to install supercounter in a page: < !-- BEGIN: Powered by Supercounters.com -->