I have some JQuery that takes a while to run and after a few second I get the error:
Stop running this script?
A script on this page is causing internet explorer to run slowley. If it continues to run, your computer may become unresponsive
Is there a way to extend the timeout? I guess that would mean extending the timeout on the person...
Hi, I got a long menubar in my site and it ruins the layout. I'm wondering using jQuery(or one of it's lightweight plugins), how do I hide some of the menu links and have small arrow links that allows to scroll them? Thanks!
...
I've got image tags that look like this:
<img src="/path/to/my/image.jpg" />
But when I access the src bit using jQuery, jQuery gives me back:
http://example.com/path/to/my/image.jpg
This is causing problems in some comparisons I'm doing. I don't want to change my image paths to use absolute URLs.
Any ideas as to how I can either ...
Is there a way to get values from database (or XML file) using ASP.NET and then inject them into a JavaScript array?
...
I am able to get the dojo working on my site and AccordionContainer dijit that I am using is working fine. except that I get the error below continously.
"Dojotoolkit uncaught exception : could not load cross domain resources"
I tried to locate and fix the issue from the discussions on the same topic here at SO and else where without an...
hi all,
I have a small but very vital issue regarding syncronization of execution of onblur and onclick event handler in javascript.
Actually I have a html form containing one text box and one submit button. onblur is put on textbox this handler executes a method called ajexValidation(). Submit button is associated with onclick hndler ...
Can anyone help me by telling me how can I capture the URL of a new tab or a new window by using JavaScript in Firefox?
...
Is it possible to manage files and directories (i.e. get a directory's content, create/copy/delete files, etc.) usig javascript in WSH ?
I did a quick look at MSDN and I cant find an object that let me do that.
...
For Javascript code that is linked or generated, what is the best way to view all of them?
Examples are like the Google AdSense or Analytics code, such as
<script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxx";
[...]
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_...
I am using prototype js with PHP and mysql for update the status of record enable to disable vice versa in a grid. For this i use Ajax.Request method of prototype. status is updating but status icon was not change.
I am using image for showing enable or disable record.
if record is enable in a grid then you can see enable.png image in ...
Is there any good alternative to the html5-element canvas to paint shapes like hexagons using javascript, that works cross-browser (including the horrible IE6)?
I have been using jQuery and jQuery maphighlight for this, but it doesn't give me enough possibilities to manipulate the shapes and colors after it's first rendered.
Am I missi...
How to obtain lang attribute in html using JavaScript?
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
...
function icPageInit()
{
$("icImgDiv" + icAlternate()).setOpacity(0);
return true;
}
window.onload = icPageInit;
This piece of Javascript code works fine in Firefox and Chrome, but fails with the error 'Object Expected' in Internet Explorer 8. IE8 says the error occurs on line 3 of the above code.
Does anyone know why this is h...
I have the function below.
Everything works fine except for the Push, Pop and Remove method. These method should be called by the event-handler. This event is fired by the google maps api.
The problem is that when the event is fired, these method are not found. I have a "Push is not defined" error message.
I tried with this but that's ...
A double quote even if escaped is throwing parse error.
look at the code below
//parse the json in javascript
var testJson = '{"result": ["lunch", "\"Show\""] }';
var tags = JSON.parse(testJson);
alert (tags.result[1]);
This is throwing parse error because of the double quotes (which are already escaped).
Even eval() won't work ...
I have a need for generating JavaScript on the server. I can do this by using ASPX pages to template JavaScript but I'm getting warnings and I don't benefit from syntax hilighting which I would like. Is there a way to tell the .Net environment/Visual Studio that a certain ASPX page is supposed to output non-HTML text?
The reason for thi...
Does the calendar get the month names from the users computer, or is this predefined in the control itself?
I.e. for the same piece of code, would it say "June" when viewing it on an English PC and the German equivalent when viewing it on a German PC?
I am not too familiar with this I must admit. I guess CalendarPopup(); is used?
...
I am working on a asp.net website. There are a lot of javascript plug-ins that site uses including the bookmark button(addthis), Google adsense, Admanager tags, Social Bookmarking buttons and so on.
The page loads slow and even though I have been using tools like FireBug, I haven't been able to make out why does my page load so slow.
...
Safari 4 Beta on Windows (build 528.17) has a bug. If expires is in value assigned to document.cookie, cookie is not changed. So, below cookie enable detection doesn't work anymore.
var dt = new Date();
dt.setSeconds(dt.getSeconds() + 2);
document.cookie = "cookietest=1; expires=" + dt.toGMTString();
var cookiesEnabled = document.cooki...
I have a quite simple data capture web app.
In the main capture window, when you save a row in a UltraWebGrid, depending on certain flags two more windows open (with a ScriptManager.RegisterStartupScript).
One of the windows, works perfectly fine.
The other one, when it gets closed (by means of its own ScriptManager.RegisterStartupScr...