Javascript Error In Internet Explorer But Works Fine In Firefox?
Sep 1, 2010
i was working on one of the project as it is working fine in Firefox but it is giving the javascript exception in internet explorer.Errror: Error says "s" is undefined in the s.currencyCode="USD" line but "s" is defined in the external javascript file s_code.js
<script type="text/javascript" language="JavaScript" >
var s_account="mnsdev"
</script>
<script type="text/javascript" language="JavaScript" src="http://media.world.com/ads/usen/rpt/Omniture/s_code.js"></script>
<script type="text/javascript" language="JavaScript" >
s.currencyCode="USD"
[code]...
View 10 Replies
Similar Messages:
Oct 19, 2010
I've used some Jquery scripts for toggling image on a web user control, it work fine in explorer but got no signs of life in firefox!
Here the code for a test form in plain html (this works on every browser):
[Code]....
and in post-behind:
[Code]....
this is the toggle.js:
[Code]....
View 12 Replies
May 28, 2010
I want to submit my parent page when I click on submit button of the child page. In my child page I've written my code as
[code]....
it is working fine in IE but not working in Firefox. What could be the alternate method for this?
View 1 Replies
Aug 16, 2010
I have different iFrames on my page and one of the iFrame has pdf plugin that shows the PDF document and i have another iFrame that pops up on delete button click and a function to toggle the iFrames. It works fine in Firefox but in IE my pop up iFrame is always behind the PDF. Any thought how can I set it right, there is some issue with the z-index of PDF, it is set to infinity something like that in IE !
View 3 Replies
Jan 7, 2010
I need to upgrade a ASP.NET website for IE8. it works fine in IE6, but not in IE8. I don't want to run it in any backward compatibility mode. I would like to make any code changes that are required to make it fully compliant with IE8/Firefox. what is the best and/or easiest way to do that? is it just a case of going through each of the things that are broken and fixing them one by one or is there a more efficient way to fix these issues (some kind of utility??).
View 3 Replies
Aug 30, 2010
I tried a lot but I could not figure out why the IE is not taking font size and name in to effect from CSS. In firefox my website could be seen very nice but in IE it is little bit unshiny and font size is bigger For the difference which I am talking about could be seen if your PC have both firefox and IE installed. [URL] open it in FF and IE and you could see the font and alignment related change. All these settings are in body element of CSS. Do you any idea regarding this?
View 5 Replies
Aug 6, 2010
I have an ASP.net application hosted on Win2003 server. When I set the Authenticated Access to just Integrated Windows Authentication, IE7 & IE8 started failing in loging into the site with an error 401.1 ("You are not authorized to view this page"). But Firefox has no issues in loging into the site. why IE is failing to login with Integrated Windows Authentication where FireFox works perfectly?
View 1 Replies
Jun 6, 2012
SiteMap is not clickable on Firefox,Chrome and Safari But works perfecly fine on IE..Here is the code;
div.logintext {
position: relative;
top: 25%;
display: table-cell;
vertical-align: middle;
text-align: left;
[code]...
View 1 Replies
Oct 14, 2010
the below works in Internet Explorer but not firefox.
protected void Page_Load(object sender, EventArgs e)
this.GridView1.Attributes.Add("bordercolor", "c3cecc");
View 2 Replies
Sep 5, 2010
I have VS 2008 installed and have IE8 browser as well as google chrome browser.However wheneever i try to run a .aspx page in solution explorer of VS with the browse with.. options,the page runs fine with chrome browser but not with IE8.The IE browser shows the error "Ineternet explorer cannot display the page".I have set the IE as the default browser in the browse with ... option of the VS 2008.
View 6 Replies
Dec 21, 2010
I've got an asp.net page that uses dynamically populated DropDownLists and OnSelectedIndexChanged events. A few days ago I found a defect where hitting the back button would load the previous page from the browser's cache, so the DropDownList would already have a selected index (hence the OnSelectedIndexChanged event would not fire properly as it didn't have the default selected index). I understood the issue and googled around. It's a well known issue that doesn't have an easy solution because of how the browser interacts with the page. After a bit of thought, I went with a trivial javascript solution to reset the ddls:
var gvTable = document.getElementById("foo");
if (gvTable != null)
{
[code]...
This worked well and I was happy. Until I tested it in IE. In IE, it appears to run the script, THEN load the cached values of the DDL. That is, I observe the DDL snapping back to the 0 index, and then suddenly dropping down to the previously selected value. I'm sort of at a loss here, I typically debug in firebug, but this works perfectly in firefox and chrome.
View 1 Replies
Feb 4, 2011
I have a requirement to open a new window from Internet Explorer, but the new window should be in new asp.net session. It should not share the same session of previous opened window or the parent window. How can it be possible? Any thoughts? I'm using window.open('mywindow.aspx') from parent page javascript to open new windows.
View 1 Replies
Mar 24, 2011
I have a website with a button.Everytime I press that button I want to multiply the number I have in the database by one.It works perfectly offline, but as soon as i upload it i get this error:
Code:
protected void btnthumbdown_Click(object sender, ImageClickEventArgs e)
{
int countdown = 1;
countdown += Convert.ToInt16(lblcountthumbdown.Text);
OleDbConnection con = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("App_Data/DataBase_J_Wall.mdb"));
con.Open();
OleDbCommand cmd2 = new OleDbCommand("update MAIN_TBL set Person_Thumbs_Down='" + countdown + "' where Person_Email='" + lblemail.Text + "'", con);
cmd2.ExecuteNonQuery();
con.Close();
Response.Redirect(Request.Url.ToString());
}
View 2 Replies
Dec 7, 2010
I have a solution that has 2 projects in it... Project #1 is a class I created some time back to deal with the basic data connection and passing data back and forth.
The 2nd project is the new current project (web site).
Everything works fine in local mode but after I have compiled Project #1 and created a referance in Project #2 then compiled Project #2 and published to the server...
I am running on Windows 7 64bit, .NET 4.0, Access 2010, SQLExpress (loging only), C#... I have rebuilt Project #1 several times as an x86, AnyCPU, and x64... they all give the same result...
I get the following error when the web site is run.
[Code]....
View 4 Replies
Apr 20, 2010
The error is mentioned below, the cssfriendly.dll is in bin, and browser file is in there app_browsers folder. And it is working in same PC (developping PC), on remote server that belong to my company (i just installed .net 3.5 on that server)
I tried uploading the same site on 2 dufferents hosting, and finally i got the same error. What could gone wrong ? I tried contacting the hosting support but they work in ticketing system and this is extremely slow.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load type 'CSSFriendly.MenuAdapter'.
Source Error:
[Code]....
View 4 Replies
Mar 8, 2010
I get the following error when downloading excel file in SSL site:
Internet Explorer cannot download xxxx.aspx from mysite.com. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
After googling, I suspect that it's the problem of the response header. I try the solution in this page and set the header:
[URL]
HttpContext.Current.Response.AddHeader("Pragma", "no-cache");
HttpContext.Current.Response.CacheControl = "private";
View 4 Replies
Mar 24, 2011
I have an ASP.NET application where one of the pages hosts a 3rd party ActiveX control. A condition can sometimes occur with the ActiveX control that causes the following error message to be displayed in a Windows dialog box when Internet Explorer is closed:
Exception EIdWinsockStubError in module CADVIE~1.OCX at 0029A808.
Error on call to Winsock2 library function WSACancelBlockingCall: Either the application has not called WSAStartup, or WSAStartup failed.Without any intervention from the suppliers of the ActiveX control can I suppress this message.
View 1 Replies
Nov 27, 2014
I'm new in using C# in ASP.net My code is causing Internet Explorer to run slow and return error message asking to stop running this script.
When I use the "Select *...", it return about 700 rows of records and it cause the error.
When I use another SQL "Select NOC0854....", filtering some records, it return about 300 rows of records and no error message appear.
How I can improve my code so that I can retrieve all records from my table? I think 700 rows of records doesn't seem a lot, maybe my code is not correct?
Code:
//cmd.CommandText = "Select * from PTH3759";
cmd.CommandText = "SELECT NOC0854 from PTH3759 WHERE HID0019 >= TO_DATE('11/01/2014','MM/DD/YYYY') AND HID0019 <= TO_DATE('11/28/2014','MM/DD/YYYY')";
cmd.CommandType = CommandType.Text;
OracleDataReader dr = cmd.ExecuteReader();
if (dr.HasRows) {
GridView1.DataSource = cmd.ExecuteReader();
GridView1.DataBind();
}
View 2 Replies
Jun 10, 2010
when i test this page http://www.catalogues4u.com.au/ViewCategory.aspx?catID=119 im getting the above error. to replicate this issue visit the above page in ie7 and you will get the prompt.
View 3 Replies
Jan 15, 2011
I am using vs2008 pro. my problem is that javascript debugger is not working on mozila firefox but working fine on IE8.
View 1 Replies
Feb 11, 2011
First things first.This application is an ASP.NET application using windows authentication.
Situation:The user is logged onto their computer with something like Domain1John and is running Internet Explorer 7 as Domain2Mike using the "Run As" option.
Domain1 is the user's local domain. He is accessing the application over the Internet using the Domain2Mike credentials where Domain2 is the domain that IIS knows about.
I'm opening a new browser page with Javascript, and the window contains a PDF report; the problem is that it is not showing correctly. It shows a gray screen, without even the Adobe reader toolbar.
On the other hand, when IE is run as Domain1John everything works nicely.I think it has something with the local computer rights. I added Domain2Mike to the Administrator group on the local computer, but it still fails to open the new page correctly.
View 2 Replies
Jul 19, 2010
I am working on ASP.NET Ajax site. Application is working fine when I run in my local machine, but same code if I place in Server then it is giving "SpanID is undefined" Javascript error. I found error is due to UI.dll file.
View 2 Replies
Sep 16, 2010
How can I produce a CSV file. My loop shown below works just fine.. I just don't know CSV part.
foreach (Employee data in e)
{
Console.WriteLine("{0}{1}",data.EmployeeId, data.FirstName);
}
View 3 Replies
Jun 7, 2010
I had code on Download.aspx for downloading different type of file like doc, xls, pdf etc. I usually call the page to download a file. In one of my instance i am calling this from a java script code which works fine for [URL] but if I put ipaddress instead of localhost then its not working.
View 2 Replies
Aug 2, 2010
I have ran into an issue that has me stumped. I have a jquery / javascript function that loads when my site is loaded. It calls a service in my project and returns a string of data.
[Code]....
The code that handles the web method is shown here:
[Code]....
This is something I have done similar multiple times. The problem however is the code works fine on the local devbox how ever when I move the project code to the prod box I get a response back with the following:
[Code]....
One note this is the first time I have done this targeting .Net 4.0. Is there an issue with relative url's using .Net 4.0, or VS 2010 that I have missed?
View 4 Replies