MSIE Stopped Executing Javascript!
Jul 23, 2005
For some god-forsaken reason (which I can't find out either) MSIE
stopped executing any JavaScripts. In any page which contains
JavaScript code, that code won't be executed. There are no error
messages, no warnings, nothing. It simply does'nt work. I'm pretty sure
this could be caused by some stupid installation of another program
that messed up some IE settings.
Security settings for IE are all lowered down. Everything is activated
(Scripts, ActiveX, automatic download of anything, anytime)... so we
ran out of ideas of what could be the problem. And yes, we have also
tried to reinstall IE.
The only clue we have is that a local Administrator user can change IT
security settings for himself and (go figure) things work fine! The
problem occurs with users that have limted access to the computer and I
am pretty sure this shouldn't happen. If you are wondering... yes...
the local administrator has already tried to change the settings for
limited user account..
View 20 Replies
ADVERTISEMENT
Aug 2, 2007
I am using an ASP.NET AJAX control (ValidatorCallout) that requires
client-side validation to work with a custom validator I added. This
is an example of some code that works:
<asp:CustomValidator ID="CV_PartNumberExists" runat="server"
ClientValidationFunction="CheckPrime"
ControlToValidate="PartNumberText" ErrorMessage="b><br />A Part
Number is required."></asp:CustomValidator>
<script language="JavaScript">
<!--
function CheckPrime(sender, args)
{
var iPrime = parseInt(args.Value);
var iSqrt = parseInt(Math.sqrt(iPrime));
for (var iLoop=2; iLoop<=iSqrt; iLoop++)
if (iPrime % iLoop == 0)
{
args.IsValid = false;
return;
}
args.IsValid = true;
}
This is code I borrowed from another site to test this method - and it
works. My problem is that I need the JS to execute a VB function in
my project and I don't know how to do that. I want to do something
like:
function CheckValue(sender, args)
{
var sPartnumber = String(args.Value);
if FindExistingPN(sPartNumber)
{
args.IsValid = false;
return;
}
args.IsValid = true;
}
....where FindExistingPN is a funciton in my VB class. I have seen
some other posts about this, but none of them really gave me any
sample code that I could run. As I mentioned earlier, my JS skills
are lacking, so I am unable to create this myself.
View 3 Replies
View Related
Jul 23, 2005
I'm trying to execute a bat file on the server in javascript. The javascript sits on the server as well. I'm currently using:
document.location.href='testme.bat'
However the only thing it does is just opens up the bat file and shows my bat code in the browser. How can I execute the batch file instead of opening it and viewing it in the browser?
View 5 Replies
View Related
Jul 23, 2005
I have a select dropdown and 5 text fields. based on the option
selected (which are the units - cm/mm/inches/ft/yard etc), i change
the values in the text fields using javascript to the corresponding
units.
my problem is that when the options are selected very quickly(for eg
using the keyboard's up/down keys) then quickly, the text field values
lose their connection with the select box and the values become
illegal.
I suspect that the javascript function is being called even before the
earlier execution has not terminated. I tried using a global variable and using it as a lock, but still no success.
View 1 Replies
View Related
Aug 31, 2005
Is there some way from preventing the JavaScript code in a document loaded into an iframe from executing? I don't have access to the pages being loaded into the i-frame so I can't modify then. They are being loaded from a server.
View 4 Replies
View Related
Nov 7, 2005
What I am trying to do is dynamically update an image and image map on
a page. I'd like the update to happen as quickly as possible and be
done without refreshing the page. The catch is that the image map uses
the wz_tooltip.js (http://www.walterzorn.com/tooltip/tooltip_e.htm)
library to display a JavaScript tooltip containing detailed information
about different areas of the image. So, when I pass the required
<script> tags via .innerHTML, the browser treats it as text and does
not interpret the JavaScript and execute the code.
My code looks something like this:
View 5 Replies
View Related
May 4, 2007
I have an application in the form of "*.exe" file and i need to
execute this and evaluate the returned values within Javascript.
Is this possible ?
View 4 Replies
View Related
Nov 14, 2007
Basically, I have a page that I load with 10 input fields. If users
have JS enabled I want to hide 5 of these fields so as to reduce
clutter. If the user needs these extra fields an "Add" button can be
used to display the hidden fields one by one.
Once the fields a filled in the user submits them for validation and
if there are any error They can "Go back" to make some changes. The
whole process works great in FF & Opera but IE lets me down because if
you use the Browser "Back" button the Javavscript gets executed even
though it should be loaded out of cache.
View 3 Replies
View Related
May 30, 2007
i'm using a little "ajax" loader script to dynamically load files into
different "div" tags on my main site. the code for this part looks
like:
View 13 Replies
View Related
Jul 23, 2005
I find I cannot disable javascript in MSIE 6 I've Help'd, Google'd, and searched here to no avail.
<noscript>
You don't have javascript enabled
</noscript>
will not display for me.
View 11 Replies
View Related
Dec 27, 2000
does anyone have a tough idea of what percentage of MSIE users have javascript turned on?
has anyone done a survey?
View 9 Replies
View Related
Jul 23, 2005
If a user is using a combination of Win98 & any version of MSIE, I
want to display a message. The best that I can do is the following:
<?
if ((strstr (getenv('HTTP_USER_AGENT'), 'MSIE')) && (strstr
(getenv('HTTP_USER_AGENT'), ྞ')))
{
echo"blah,blah,blah
";}?>
Is there a better (more foolproof) way?
View 4 Replies
View Related
Oct 12, 2009
The foklowing code works fine in Firefox, but not in MSIE;var title = $("title").text();I want to know the <title>blabla</title> as you can see. But MSIE does not support this.
View 1 Replies
View Related
Oct 13, 2011
I made up a little test program to grab the mouse X and Y coordinates and plan to use it to allow users to resize a window.
Anyway, the problem I'm having is that in MSIE-8, the mouse down and movement causes text to be selected (which I don't want).
Here's is a screenshot from MSIE:
[URL]
And here is the test program live online: [URL]
Notice that the text in the box is selected... I don't want that to happen.
Of course, it works just fine in Firefox, but not MSIE.
View 4 Replies
View Related
Aug 17, 2009
Script works in MSIE but not FireFox (part of a VB.NET 2005 web site)
There must be a place in FireFox or a JavaScript settings somewhere that allows errors to continue. code...
But it the FireFox java errors it gets a null and terminates.
Why is it getting a null. It works fine on MSIE.
View 9 Replies
View Related
Dec 27, 2005
Here's what used up the last couple of hours of my time.
The Mac version of MSIE will not load a script that has this in it:
theItem.elm.value = theItem.elm.value.replace(/^s*(.*?)s*$/, "$1");
Now I had other regular expressions in the script done this way, but in this one case I had to use the object constructor method.
It will won't work in this browser, but now at least the script loads and other functions in the same file work.
I have a solution so basically I'm looking for some insight into this if anyone has it. What is it about this particular expression that upsets Mac MSIE?
View 1 Replies
View Related
Aug 24, 2010
What is your opinion on MSIE Javascript compatibility.
View 1 Replies
View Related
Jun 20, 2011
I have a problem with internet explorer to show images. Please take a look at: [URL] and click into any image. Using FF, chrome and safari clicking an image show a big centered image with position fixed. Using internet explorer is a full wrong.
View 2 Replies
View Related
Apr 14, 2003
What I have is a back page button as follows:
<input type="Button" name="Back" value="Back Page"
onClick="this.page=document.forms['chapage'].elements['pge'];
this.chapt=document.forms['chapage'].elements['chp'];
this.pgid='Pg'+eval(this.page.value);
this.page.loc='document.there.'+this.pgid;
this.page.locC=this.page.loc+'.valueC'
this.page.locD=this.page.loc+'.valueD'
this.newchapt=eval(this.page.locC);
this.newpage=eval(this.page.locD);
there.location.href=this.newchapt+'.html#Pg'+this.newpage;">
The frame name is "there", also, there are attributes that are taken out of an anchor on the page (valueC and valueD). it seems to fall apart because Netscape doesn't evaluate the "this.page.locC", which is in the "there" iframe How do I pull attributes from out of a frame?
View 10 Replies
View Related
Sep 13, 2010
In the attached code, I get no errors running in either the MSIE or FF browsers. BUT, the actions are different. I'm trying to figure out why.
[Code]...
It works as designed and intended in FF browser:
1. Each section opens when clicked on, and
2. Other sections close when a section is chosen, and
3. Same section closes when clicked in succession. (same for both)
In the MSIE browser, it works as this:
1. Each section opens when clicked on, but
2. Other sections open also when chosen and first selection stays open and
3. Same section closes when clicked in succession. (same for both)
Any reason for this in MSIE and FF browsers for #1 and #2 above? how to make both scripts work the same in both browsers?
View 2 Replies
View Related
Dec 7, 2010
why this code works in FF, but fails in MSIE? In particular the content / display of the <select> options.
What is different in the executions of the same script on different browsers?
What can I do or change to make it work in both browsers?
Code:
<html>
<head>
<title> Pass array by reference </title>
<script type="text/javascript">
[Code].....
View 2 Replies
View Related
Jan 14, 2007
Code:
User name: sitepont
Password: preview
And I have developed an Ajax based search module that primarily does the following:
Lets the user select a Country and then loads via AJAX a drop down full of areas and then when an area is selected loads another drop down menu full of towns.
The Ajax functions fine and it all looks great in Firefox. But there is a problem with the background in internet explorer.
When the new <select> is loaded the background stays white in a small strip. Does anyone have any experience with this bug?
View 13 Replies
View Related
Oct 3, 2006
MSIE 6.0 apparently does not support protyping with objects created
with document.createElement, while Firefox does.
I tested it by typing it into the adress bar, but it also appears to be
the case for code embedded in a HTML document. Here's a simple segment
of code to demonstrate the difference:
javascript: function myObj(){};myObj.prototype =
document.createElement('a'); var x = document.createElement('a'); var
y=new myObj(); var z= new Object(); alert(x.href) /*blank in both FF &
MSIE6 */; alert(y.href) /* blank in FF but 'undefined' in MSIE6 */;
alert(z.href) /* 'undefined' in both FF & MSIE6 */;
I wonder why that is (apart from the fact that MSIE implements JScript
and not javascript), and can anyone tell me which of both browsers is
complient with W3C standards?
View 6 Replies
View Related
Feb 28, 2009
I was hired a while back to maintain an existing site at (http:url]...). I believe the site was originally designed with Dreamweaver several years back, including the menus.The pop-up menus have worked fine until recently. They seem to be working fine in every browser (Firefox, Safari, Chrome) expect IE. I have spent several hours trying to determine the problem, with no luck.My knowledge of Javascript is limited (which is part of the problem).I have made no changes to the menu code recently, so I don't know how to track down the problem. IE says there is an error "Object Expected" in this line:
<script language="Javascript1.2" type="text/javaScript">mmLoadMenus();</script>
<script type="text/JavaScript">
<!-- Hide from old browsers[code]....
View 3 Replies
View Related
Feb 9, 2011
I have searched all of the forums before posting this, every year I have a Halloween Party and post it with this script for the continuous countdown?Now it is not working it seems to be off by one day?
var today=new Date()
//Enter the occasion's MONTH (1-12) and DAY (1-31):
var theoccasion=new Date(today.getFullYear(),10 ,31 [code].....
View 8 Replies
View Related
Mar 3, 2009
I'm using Lighbox on a project I'm working on, it was working and all of a sudden has stopped. I have changed nothing. Here's how I have the lightbox.js file added to the header
<script type="text/javascript" src=scripts/lightbox.js"></script>
And in the image tag I have added the rel="lightbox"
<div class="thumbnail">
<a href='images/display_images/<%#Eval("Name") %>' rel="lightbox" title='<%#Eval("Description") %>'>
[Code].....
View 4 Replies
View Related