This happens in IE6 when the user opens a popup window that opens a PDF inside. (this part works).
Then, the user opens another popup window, and at this point i get this error.
There is a good description and a possible solution here
my question is this:
Is there a better solution? Opening up a window and closing it right away see...
I'm working on a web project that is multilingual. For example, one portion of the project involves some custom google mapping that utilizes a client-side interace using jquery/.net to add points to a map and save them to the database.
There will be some validation and other informational messaging (ex. 'Please add at least one point to...
I have a page with an elements that can get removed from it, sometimes the rest of the elements readjust after its removed which is good. Sometimes though they do not, is there a way to force them to readjust or invalidate?
Thanks!
...
Let me start off by apologizing for not giving a code snippet. The project I'm working on is proprietary and I'm afraid I can't show exactly what I'm working on. However, I'll do my best to be descriptive.
Here's a breakdown of what goes on in my application:
User clicks a button
Server retrieves a list of images in the form of a data...
My ASP.NET WebForm has a place holder on it and user controls are dynamically added to it. The controls mostly have textboxes. Sometimes there are two user controls, sometimes there are ten. Everything is working as expected. My question is about how to implement a new feature.
My customer has a new request to copy data from the fir...
I have an ASP.Net control that injects a javascript pageLoad function. I also have a pageLoad function directly on the page. I can't seem to get them both to fire. Are you limited to only a single function with the same name in javascript?
...
Basically I'd like to bind function A to all inputs. Something like this:
$('input').bind('change', function() { bla bla bla });
And then later I would like to bind something different in addition like this:
$('#inputName').bind('change', function() { do additional processing..});
Is that possible? Does it work? Am I missing the sy...
Assume that you have a problematic code snippet. What is your way to debug it?
Are you alert the variables?
Do you use Visual Studio .NET or any other tool to debug your javascript snippet?
Are there good script libraries that ease the debugging process, or do you write your own?
...
How can I handle keypresses in Javascript in IE7 that are Key Combinations?
For example, I'd like the command "Ctrl + I" to fire my notification script. How can I go about this?
...
I have an XML DB and I have been able to parse the XML using DOM with JS. The thing I am unable to figure out is, how can I change a value in my XML db?
I tried using:
xmlDoc.getElementsByTagName("COMMENT")[0].childNodes[0].nodeValue="text";
But this does not changes the actual DB. When I refresh my page, it gives me the same old v...
I saw an article about Javascript_Java_Interaction today at :
http://www.rgagnon.com/javadetails/java-0184.html
[ You can try the working version on that site ]
So I tried it on my PC, after some simple format change the files look like this :
========================================================================================...
I want to call a function from within plugin, but the function is on the main page and not the plugin's .js file.
EDIT
I have jQuery parsing a very large XML file and building, subsequently, a large list (1.1 MB HTML file when dynamic content is copied, pasted, then saved) that has expand/collapse functionality through a plugin. The...
I have a javascript that disables a button for x seconds and then enables the button after x seconds pass. An update button checks for certain constraints, and if met, a modal popup is shown. The button the javascript is meant for is located in a panel displayed by this modal popup. Is there a way I can execute the javascript when the...
I believe jQuery's :nth-child selector doesn't work inside GreaseMonkey 0.8.
(At the bottom is a quick GM script to test this.)
Why is this?
Is this a known limitation from working inside GreaseMonkey?
Can anyone recommend a way around this?
Also, why is it that some (definitely not all) jQuery queries run much slower inside GreaseMonk...
I have three types of get requests that are delivered to a class file on web application from a mobile device. Because the mobile device provides no cookies, the log file hit only has
in.ter.nal.ip ser.ver.i.p:port 2009-06-05 09:14:44 GET /applicationname/mobiledevicexml reqtype=login&userid=xx### 200 87 - MercuryMobile/1.0 CFNetwork...
Hi,
Here's a little bit about my situation:
I want to be able to retrieve a list of emails for the friends of a given user.
Here is how I would like the process to go:
A div box pops up with a login (used to log in to their facebook account, not my website's account system - that is separate)
Then once the user has entered their face...
Hi,
I have a page that on a certain action makes an iframe visible and fills the iframe with some HTML (say for example a multi-select box and an ok button).
The OK button on the iframe has the onClick method defined kinda like this:
onClick="parent.hideIFrame();parent.processMultiSelectBox();"
When User clicks OK on the iframe (pre...
Hello,
Im sure this questions has been asked a zilion times but im dire need of a solution for this example. I've built a jquery dropdown menu to float over a banner swf. for some reason in ie6 & ie7, the menu rolls behind the swf. i've tried the wmode=transparent in the code to load the flash file with no avail. i've also tried z-index...
Now for some reason i can't get this code to work
When i move the mouse over < tr id='$id'> i want the #remove_$id to be showing and then hidden when the mouse is moved off
jQuery Code:
$(function() {
var id = this.id;
$("tr").hover(function() {
$("#remove_" + id).show();
}, function() {
$("#remove_" + id).hide();
});
});
PH...
On my FORM, for some reason, I can get my form input variable via onsubmit but not using action.
This works:
<form onsubmit="javascript:myFunc(this.city.value);">
<p><input type="text" id="city-field" name="city" onfocus="this.select();" /> <input type="submit" value="Find" /></p>
</form>
This doesn't work (this.city.value is fou...