Adding Script Node Into Popup Window
Nov 20, 2006
I create a popup window using document.createPopup()
Is there anyway to add a script node into this popup? For example I'd
like to add:
<script type="text/javascript" src="blah.js"></script>
into the new popup window.
View 1 Replies
ADVERTISEMENT
Jan 22, 2010
I am trying to dynamically open a popup window but ie8 blocks it with the popup blocker. basically within a ajax fuction I have a confirm button and if the user clicks yes it opens a popup window. now I tried it with a javascript function but it got blocked, so I have tried it by creating a form with a button in it and instead of calling the popup function direct I call document.form.button.click and in the form my button has onclick"popup('<? echo url; ?>')" but this also is detected as a unwarranted popup and is blocked.
now I understand that the popup blocker works when a popup is called without user interaction, but allows popups on say button clicks. how can I get the popup to work
View 3 Replies
View Related
Sep 22, 2010
In my application i use window.showmodaldialog() to pop up a window. When i run it in IE pop up blocker wont blocks the window... But when run it in FireFox pop up blocker will blocks the pop up window.. is there any way to open a window with out blocking(avoiding ) by the pop up blocker?
View 1 Replies
View Related
Dec 7, 2011
I have a small question. I am building an AJAX-based content editor and in one portion the following xml tag needs to be processed:<
[Code]...
View 1 Replies
View Related
Nov 23, 2009
I'm using jsTree-0.9.9a. As a test this is the code i'm using to display the ID
oncreate: function(NODE, REF_NODE, TYPE, TREE_OBJ, RB)
{
if (TYPE === "inside") {
parent_id = $(REF_NODE).attr('id');
alert(parent_id)
}}
This works fine when the parent has no child nodes, however, when a child node exists nothing is returned.
View 1 Replies
View Related
Jan 8, 2004
I have a popup window which has the search form in. What I want to do is for the popup window to close once the form is submitted, and to post the form data to a page on the main window.
Is anyone able to advise. As the main page is dynamic, it is not possible to give the page a name.
View 4 Replies
View Related
Jun 13, 2011
Im trying to create a hidden form field in a parent window from within a child window (popup). I am trying to use jQuery, but unfortunately the hidden field does not get created.
Code JavaScript:
View 2 Replies
View Related
Jul 20, 2005
I have a couple of utility windows - a calculator and a calendar that popup
from my main window. I would like them to always stay in front of the parent
window until they are shut down with there own close buttons. As it is, when
you click back to the parent window, of course it comes in front of the
child windows. Can I do this?
View 4 Replies
View Related
Apr 7, 2007
My problem is that ..... I have to select Data from Popup Window and get that Data back to my Parent window's textarea field..
View 2 Replies
View Related
Sep 23, 2010
I need to open a popup window from a PHP site and pass in some parameters to use in the pop up window. I have the params in an input box and need to get the val of the box into a param and pass it to the new popup window. All pages are local and in the same folder. The id of the input box is 'ddutykey'. The name of the new window would be showduty.php if possible.
View 3 Replies
View Related
Apr 15, 2009
I am trying to add a feature to one of my webpages where when you scroll over a specific word, a popup appears. However, for some reason the code I am using isn't working.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"[URL]"> <html xmlns="[URL]"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>JavaScript-based Pop-Up Div</title>
<style type="text/css"> body{
padding: 0; margin: 0; background: #fff;
} h1 {
font: bold 24px Arial, Helvetica, sans-serif;
color: #000; }
View 1 Replies
View Related
Apr 8, 2011
I have the code below in my popup window which currently brings up a blank page in the background as the main window. Instead I want the popup to come up but the original page I left is in the background as the main window. Does anyone know how I can do that with the code I currently have.
<html>
<head>
<title>JavaScript Popup Example 3</title>
[code]....
View 21 Replies
View Related
Oct 11, 2006
I have a form that is in a popup window. I need the form to submit to the opener window. Is is possible to do that? The opener window is the main window so it is does not have a name and there are no framesets.
<form action="something.php" method="post" target="????">
I'd like to use window.opener in the target but that's JavaScript...
I know somebody has done this before and has the code.
View 2 Replies
View Related
Sep 21, 2004
I am trying to insert the value of a variable gathered from a popup window as an option in a <select> menu on the main window. This is the code I have so far:
Code:
var newOption = document.createElement("option");
newOption.value = '<?=$userfile_name?>'
newOption.appendChild(document.createTextNode('<?=$userfile_name?>'));
select.insert(newOption);
How do I do the rest? I just want to add this new value to the end of the list.
View 1 Replies
View Related
Jun 27, 2002
I need the most efficient way of passing a variable from a parent window to a popup window.The reason i say "most efficient" is because i currently do it like this from the parent:[code]But this is inefficient because at times it randomly alerts "undefinded".Anyways, can someone tell me a more fail safe way to pass a var to a popup so that i will be able to access it 100% correctly.
View 1 Replies
View Related
Jan 19, 2003
how I can populate the value of an input field on a parent window from a selected item (of a form - listmenu) on a pop-up window? Basically, I need to pass the value of one form to another form located on a different page...
View 1 Replies
View Related
Sep 21, 2007
I have an active Submit button that posts to a Shopping cart. I'm trying to achieve a 500px by 500px popup window when they click the "BUY" button, but also allows them to proceed to the shopping cart to check out. I tried one option, and the popup showed up, but it failed to proceed to the cart. Does anyone have any ideas? Here is the code for the button, feel free to add to it and change anything necessary. Code:
View 4 Replies
View Related
Apr 11, 2011
I have a popup window that comes up when a user doesn't have access to a certain page within my site. The problem is when a user clicks on something the popup window comes up but the bigger sized window of that popup comes up in the background as well. I am trying to have my popup window come up while the original page I clicked from is still focused/seen in the background. This is the code I currently am using, can anyone help me with what I am missing. I have a back button but I won't need that if I want to maintain the original page in the background. Instead I will use a close button.
Code:
<html>
<head>
[code]....
View 1 Replies
View Related
Oct 15, 2003
I am building a CMS and will have an Image browser built with it. When articles are added the will be able to open up the image browser when they find the image they want to insert I would like to send it(and ID from my database) into that textarea where the article is in(in the main window). So basically sending a value from popup to the main window(textarea). Is there a way i can do it.
View 3 Replies
View Related
Feb 15, 2005
how to pass a value from radio button in a window to a popup window using asp javascript?n in the popup window,there is a textfield to enter data to search from database.. the value from the textfield then is used to generate report.
View 1 Replies
View Related
Sep 6, 2005
I have a website which has a popup window (this only opens when the user
chooses to open it). In the popup window I have a <select> control which
lists a selection of "classes". Each class has a description and a class_id
(stored in the value attribute of each option). The user will then select a
class from the drop-down list.
What I want to do is have a control in the parent browser window which can
store the class_id and the description that the user has selected in the
popup window.
Any suggestions as to what control I should use in the parent window and
more importantly how I get the value from the popup window (this must be
client side code as the user will have entered other values into the form in
the parent browser window)?
View 4 Replies
View Related
Mar 18, 2009
In parent window, while submitting form, popup window is called. In child popup window, parent window is forced to go invisible through code. But sometimes it is not working.Aim is to inactive all elements in parent form or invisible parent form while child window (popup) is opened. After closing popup, parent form should be in visible state.
In parent Window: (userinfo.php)
<script type="text/javascript">
<!--
[code]...
View 2 Replies
View Related
Oct 2, 2009
I guess this case applies to both popup windows opened by window.open() and by showModalWindow().
I have two buttons in popup window, "Cancel" and "Save". If the user clicks either button, there is a "process" at parent window before close() at popup being called. The problem now is, if the user click the "X" sign at top right corner of that popup window, how to trigger the "process"?
I think I can do nothing in popup window since the closure is unexpected programmatically. Can I put some kind of listener in parent window to detect if popup is closed?
View 4 Replies
View Related
Aug 25, 2007
Admittedly I don't know javascript. I got the following code from a free
site somewhere and have been using it:
<a
href="javascript:void(window.open('forms/13.11.php','em','scrollbars=1,width=67
0,height=400,top=60,left=60'))">
Now that I have been using it, I see I would prefer to have the window be
resizable by the viewer (in ie 6, 7 and firefox), Anyone have any idea of
how to change this so the popup window can be resized?
View 3 Replies
View Related
Jul 20, 2005
I'm using the folowing javascript code to oprn a popUp window
msgWindow=window.open('','messageWindow', 'scrollbars=yes,width=300,
height=150');
msgWindow.document.open();
msgWindow.document.write(strHTML);
msgWindow.document.close();
In this window I've a form containing a text TXTNAME and a button that call
another function javascript popUpProcess()
How can I get the value of TXTNAME inside the function popUpProcess()?
I've tried message"Window.forms[0].TXTNAME .value" but it doesn't work.
View 3 Replies
View Related
Apr 30, 2010
I wonder how to do a popup like this daniweb. I mean when your not a member and not login then u click this link. daniweb will display an image to join this forum and lock the page behind it. what is the code? is it using java script?
View 4 Replies
View Related