I already lost some hours trying to figure out how to solve a javascript problem. I have a JS function that opens a popup window:
function openSearchWindow(searchType, targetIdField, targetDescField)
and I set 2 ... |
I have a mysql/php generated list of checkboxes, all assigned to admins of the site that I'm working on. To change assignments (checkboxes), I've got a popup displaying the list with ... |
Total newbie, I (almost) know just basic HTML. I have my own website and I'm trying to find out how to make a popup window work from clicking on a part link in a parent window table so that my clients can make an inquiry. I have about 300 parts on 10 pages total and would like it to be something ... |
|
Hi, I have a pop up window which opens displaying data, on some occasions it might be very little information, on others it could be a lot. I currently have a fixed size pop up window so it doesn't really look too good with a large amount of data. I am wondering if it is possible to set the size of ... |
Hi all, I am sure this is one of those question you lots can answer in a heart beat but i have been chewing it over for a while. I am doing a file upload script which opens in a popup off the main submit form. I have it uploading files fine but what i want is for the pop up ... |
It's going to be undefined because there simply isn't enough time before you alert it. When you call window.open, it's more or less asynchronous and moves onto the next line (the alert) without waiting for the window to load. You may not notice this as much on faster computers/simple pages. Even if it was synchronous, your code assumes item1 has already ... |
|
Hello, I made a code to pass variables from pop-up window to parent window. Unfortunately this code is only working on Mozilla FireFox and not Internet Explorer. Can anyone help in this? JavaScript function to pass variables and close pop-up window: Code: function setValues() { var txt = document.getElementById("text").value; var font_size = document.getElementById("font_size").value; var font = document.getElementById("font"); font = font.options[font.selectedIndex].value; var ... |
|
transfer variable to popup (a mind bender) Sorry if this is a bit long-winded but it seems necessary to outline the scenario as I am not really sure of the correct line of solution here. Short version: How to get a specific (variable) variable into a popup? Possibly from an onClick command. Or, have the popup get the value -- from ... |
Hi guys! So I have a little bit of a problem here. I am using PHP to write out a few links onto my webpage for users to redirect to, based on the data that it pulls from my database. These links open in popup windows. The problem I am experiencing is that the variables that are passed to the popup ... |
|
|
function poptastic(url,dir) { var width = 445; var height = 400; var left = (screen.width - width)/2; var top = (screen.height - height)/2; var params = 'width='+width+', height='+height; params += ', top='+top+', left='+left; params += ', directories=no'; params += ', location=no'; params += ', menubar=no'; params += ', resizable=no'; params += ', scrollbars=no'; params += ', status=no'; params += ', toolbar=no'; ... |
|
I am having problems passing varables to a new popup window. window.open('results.htm,' ') Basically I have a script that performs calculations of various types and then calls up this popup html document with reserved tags for the variables calculated. However, I can't get the variables from the script into the new doc. For example, the script accepts the name ... |
Sorry if this is a bit long-winded but it seems necessary to outline the scenario as I am not really sure of the correct line of solution here. Short version: How to get a specific (variable) variable into a popup? Possibly from an onClick command. Or, have the popup get the value -- from the point of launch? The long version: ... |
|
Hi guys !! Marry Christmas 4 all JSers !!! I've one q. 4 ya: I open a popup, then i have an inputbox where user should type some text, let's say ... his email. Then he presses a button, and i want to send that typed text, to a hidden field in a form located in parent window... Can this be ... |
|
HI, I have a webpage that when a button is clicked it opens a pop-up. In this pop-up, there's a list of links that when one is clicked performs a javascript function that refers to the window opener in order to update some content. There's one javascript variable that I display in the plain document (no input tag) that I want ... |
|
|
I have a page with a link thats opens a popup window, in this the user will upload a image, using php script. question: I want a button in the popup, when you click, the popup will close and send the variable(which contains the name of the image)to the main page from where I opened the popup window? |
|