DeleteRow Causes Netscape 7 To Crash - Why ?

Jul 20, 2005

I am trying to get a dynamic table going. You click a button to add a
row. In the newly created row a button to delete the row is placed
(try the code example below). In Netscape, pressing the delete row
button crashes the browser. Why ? What is the correct way to do this ?

I am stumped why this following code works in IE and Opera but crashes
Netscape 7 (ie makes it disappear and try to send a bug report etc).

Any help would be much appreciated.

Copy and save the following code example and try running in Netscape 7
(or Mozilla 1.4) . It works fine in IE 6 and Opera 7. I've tried all
sorts of tweaking around but to no avail.

I need some expert help. Perhaps suggest the correct or other better
way of implementing this.


Here's the code:

View 2 Replies


ADVERTISEMENT

Dynamically Added Row - Deleterow - Submit And Functions

Mar 10, 2010

I have table in Javascript and it has addrow, deleterow, submit, and functions. when i click it automatically adds new row and it has select option to choose some of them for ex. in added two rows one of them is Motherboard Asus and other is Motherboard Gigabyte.

What i want is when i choose motherboard Asus it added news row with select option Motherboard asus and disabled select option and second time when i click add button let it adds rows but among select options let it ejects Motherboard ASUS. and with this way at the last there will be no options to select

Here is my code:

View 9 Replies View Related

Website Crash In IE When Fading / Why Is This?

Apr 7, 2009

My site works fine in Firefox, but it crashes in IE.

I am using alot of jQuery in order to fade in content. When the user clicks on one of the above links a few times, it will crash in IE.

Here is my site code...
I have absolutely no idea why the site crashes in IE. I don't even know where to begin to debug my problem. I don't have Visual Studio on my computer, but on my friends computer Visual Studio reads a message of An unhandled win32 exception occurred in iexplore.exe[####]

View 1 Replies View Related

Need A Crash Course In Script For Exam Purposes

Dec 13, 2009

I need to understand Javascript in the simplest, quickest possible way like ASAP.

This is my first time here, so I am not so sure how this work.

View 1 Replies View Related

SetTimeout Causing Browser To Crash?

Aug 2, 2011

I'm writing some code so that my comments section automatically updates every 10 seconds. The code i wrote does update it but sends off about 40 request every 10 seconds until it eventually crashes the browser.

[Code]...

View 2 Replies View Related

Javascript/html Popup Crash Firefox?

Jul 28, 2005

I'm having some trouble implementing a popup in firefox. I attached some
simplified code at the bottom. This is part of a firefox extension. What
happens is that a popup window is created, the popup window updates it's
data depending on what is shown on the main window. The problem comes when i
click the 'X' to close the popup window. it crashes firefox, and closes all
firefox windows. can somebody help me with this? why does this happen? I'm
99% sure the error comes from the form in the html code.

window.getNode = function (t)
{//stuff}

window.printNode = function (node)
{//stuff}

window.updateWindow = function (num, tag, inner) {
outputWindow.document.outputForm.nodeNum.value = num;
outputWindow.document.outputForm.nodeTag.value = tag;
outputWindow.document.outputForm.innerHTML.value = inner;
}

//popup
window.outputWindow = window.open('', 'outwindow', 'width=500,height=500');

//add contents to window
outputWindow.document.write("<html><body><form name='outputForm'>Node
number:<input type=text size=20 name='nodeNum' value=''><br>Node tag:<input
type=text size=10 name='nodeTag' value=''><br>Inner HTML:<input type=text
size=50 name='innerHTML' value=''></form></body></html>");

document.onmouseover = getNode;

View 3 Replies View Related

Window.open Methods Causes My Script Crash In Internet Explorer

Oct 25, 2005

I'm using window.open method in my script to open poup window. Recently
Internet Explorer users reported that the script crashes on their
machine with different runtime errors.

See the bug:

View 6 Replies View Related

HTML5 Database Insert Statement Makes Browser Crash

Nov 1, 2010

I have this table:CREATE TABLE IF NOT EXISTS Assignments (uid TEXT PRIMARY KEY ON CONFLICT REPLACE, instruction TEXT, start TEXT, stop TEXT, createdTimestamp TEXT, theTimestamp TEXT, taskID TEXT, resID TEXT, flowID TEXT, flowDefID TEXT, currentState TEXT, iconRef TEXT, colorRef TEXT, dispatched BOOLEAN, inStartState INTEGER, inStopState INTEGER, writeLock INTEGER, workItemID TEXT, companyID TEXT, metadata INTEGER)

The thing is that when making a insert and then going to the development toolbar in chrome and look at the storage tab and look at my table. Depending on what is in the table chrome crashes.I drop the table between the executions.The difference here is that "theTimestamp" is something rather then empty. If I set theTimestamp to '10/15/10 3:07 P' it works. But just adding that last M or any other letter will make chrome crash when you try to look at the table. Whether it is by navigating to the table with mouse clicks or writing a select * from Assignments statement.

View 6 Replies View Related

Stop Memory Leaks - Extension Tend To Crash When There Is No Internet Connection

Dec 4, 2010

The problem is, the extension tend to crash when there is no internet connection, and sometimes, the http requests fail to communicate with gmail server, they got built up over time and end up flooding the memory.

[Code]...

View 4 Replies View Related

JQuery :: Multiselect Plugin - Speed - Lags When Have Multiple Instances - Crash The Browser In Some Cases

Feb 28, 2010

I am having some issues using jQuery multi-select, it works fine but really lags when I have multiple instances (can crash the browser in some cases) am using jQuery 1.3 & jQuery 1.7 as the demo (have tried updating to the newer versions but problems persists)

I am using the following [url]

Does anyone have any idea to speed this up, or an alternative plugin that works a little better?

View 1 Replies View Related

New Tab In Netscape 7

Jul 23, 2005

Is there a way to get a page to appear in a new tab in the same window in
Netscape 7?

View 4 Replies View Related

Netscape 4.x And CSI

Aug 25, 2004

I am creating a site that will use a Client-Side Include (CSI) to dynamically generate an ad banner to be placed on the right hand side of the page. It loads great in IE5 and above and Netscape 7 and even loads fine in Netscape 4.7. The problem is when the user resizes the window, the ad banner that was generated is then placed at the bottom of the page. I even look at the HTML of that particular page and the CSI is thrown into the bottom portion of the site. I am perplexed as to how it just throws it down AND knows where in the HTML code to insert itself.

If anyone has any ideas on how to stop this snippet of code placing itself anywhere in the site, I would appreciate any help. Again, it LOADs fine but when the user decides to re-size the window, it just moves it down to the bottom of the site.

View 18 Replies View Related

Show A Div On Netscape

Jul 23, 2005

I've got a trouble with my script, i want to show a <div> on Netscape
and it doesn't work: Here is the script

//navigators identification

var ie4=(document.all && !document.getElementById)? true:false
var ie5=(document.all && document.getElementById)? true:false
var n4=(document.layers)? true:false
var n6=(!document.all && document.getElementById)? true:false

// creation of three div Code:

View 6 Replies View Related

Problem With Pop Up And Netscape 7.0

Jul 23, 2005

My Website (Template) uses JavaScript to create a pop-up window in the
gallery.With IE it works fine, but not with my Netscape 7.0. No Pop up apears.

In the script I found the line:

if (browser_type == "Microsoft Internet Explorer" && (browser_version >=
4) && (navigator.userAgent.indexOf("Windows") != -1)) {

has it something to do with not working?

View 5 Replies View Related

Netscape With Javascript

Jul 20, 2005

I created a menu bar for my page using Sothink DHTML Menu 4.1 which created javascript file. I also add a small slide show on the page using javascript and the javascript is embedded in this page's HTML.

Everything works perfectly with IE. However, Netscape (4, 6, 7) can't see the menu bar created in DHTML when the slideshow javascript is present.

If I just have the menu bar or slideshow alone on the page, Netscape can see it, but it seems that Netscape always ignores the DHTML script when both javascripts are present. Not sure what is going.

I have tried to put the slideshow javascript in the .js file that has the DHTML code for menu bar, but it didn't work either.

View 6 Replies View Related

How To Use Applet In IE Or Netscape

Jul 20, 2005

I just installed the LoveSan security patch from MSFT and turned on
Auto-Update. Now applets do not load. I tried getting Netscape 7.1 but
it directs me to the Sun page to install JRE. I do this but still
neither IE or NS will load applets. Tried downloading some from
various websites with free applets but these do not work either. Any
ideas?

View 1 Replies View Related

Javascript And Netscape 4.7

Jul 20, 2005

I have a problem with NS 4.7 (I know, it is old, but I have no
choice...) :

So, I have a page with a link to open a new window:

var strHtml = '<html><head><title>title_of_window</title>' +
'<LINK rel=stylesheet href=theme.css>'+
'<SCRIPT LANGUAGE="JavaScript" SRC="my_script.js"></SCRIPT>' +
'</HEAD><BODY onLoad="fonc_onLoad();" class=Body topmargin=0
leftmargin=0 MARGINWIDTH=0 MARGINHEIGHT=0>' +
'blablabla' +
'</body></html>'

var win = window.open('', 'window_name', 'parameters');
win.document.write(strHtml);
win.document.close();
win.focus();

My problem concerns the tag "onLoad " of the "BODY" tag: with IE, the
"fonc_onLoad()" starts normally (this function is in "my_script.js"),
but with NS 4.7 (ou 4.51), the <SCRIPT> tag is ignored (you can view the
window's source code), so the "fonc_onLoad()" function cannot not start.

View 3 Replies View Related

Netscape And IE Incompatibility

Jul 20, 2005

i have a netscape and IE incompatibility problem. when i change the text size in netscape everything looks fine and all frames text size change. but when i change the text size in IE just one frame change!

View 1 Replies View Related

Netscape Function

Dec 9, 2005

I'm making a website in both english and italian languages. I thought to make a javascript function that automates the switch from one lang to the other, reloading the same page. It works fine with IE, but when I tried to view it on a Netscape7 browser, nothing happen when I click on the link. Code:

View 1 Replies View Related

Navigating The IE Vs Netscape DOM

Nov 9, 2001

I guess because IE once again has its own variations this works or Netscape isn't following the dom I don't know which but I was hoping this type of navigation was going to be dom compliant with the newest versions of Netscape

If you have a table with the id "bob" (I like dumb names sometimes) you should be able to navigate down the table via bob.firstChild.childNodes[1].innerHTML. This does not work in netscape but does work in IE. I find this troubling because of how much easier things would have been if it worked in both. I really just wish the browsers would become equal.

The dom specification is here (outdated I believe)
http://www.w3.org/TR/1999/CR-DOM-Lev...roduction.html

Thats the specification and how it supposedly works. I am going to keep playing and figure out if maybe Netscape 'changed' it. for an example try this Code:

View 8 Replies View Related

Netscape New Window

Dec 14, 2006

i tried everything to open a new window of smaller size in Netscape, just couldn't do it. Is it my own Netscape browser setting or Netscape itself's problem?

here's one of the code im using:

<A HREF="javascript:void(0)"

'welcome','width=300,height=200')">
Open a new window</A>

View 3 Replies View Related

Netscape 7.1 GetElementById Error

Jul 23, 2005

I have a javascript function which uses the method
document.getElementById.

I'm using it to decide whether a checkbox has been ticked or not. This
decision is encoded in an if statement with the condtion being
if (document.getElementById(checkboxtoupdate).value ==1)

/* The Code */

function set(object)
{
var checkboxtoupdate = object.value;

if (document.getElementById(checkboxtoupdate).value ==1)
document.getElementById(checkboxtoupdate).value = 0;
else
document.getElementById(checkboxtoupdate).value = 1;
}

The "object" accesses a html tag which has an value attribute e.g
value="7400"

However Netscape Navigator 7.1 does not seem to recognise
"document.getElementById(checkboxtoupdate).value"
and reports an error that
document.getElementById(checkboxtoupdate).value has no properties.

But Internet Explorer has no problem with this at all.

Is there another way to do this so as to be recognised by Netscape 7.1?

View 7 Replies View Related

OnClick-problem With Netscape

Jul 23, 2005

I noticed that the following line of code works in IE 6 but not in Netscape
7.1:

<INPUT TYPE="radio" NAME="selComb" VALUE="0"

Nothing happens when I click on the radio button. There is not even an error
message.

This is a simplified version of the actual code, which is used to pass among
other things the value of a selected radio button to a JavaScript-function.
Does anybody know how this code can be made to work in Netscape?

View 5 Replies View Related

Padding Sets To 0 In Netscape 7.1 But Not In IE

Jul 23, 2005

I'm not sure if this is a style sheet issue or a Javascript issue.

I'm trying to work out a new design for my software's control panel.
The idea is that there are images on the left that you click and that
as you do, DIVs with option links appear and disappear on the right.
Because I want each of the DIVS to appear in the same place, I use
Javascript to set their padding and their height to 0px when they are
invisible. This is working the way I wish in Netscape 7.1 but it is
not working the way I want in IE. Can anyone give me a hint about why?

View 7 Replies View Related

Testing On Different Netscape Versions

Jul 23, 2005

If I have to test my code on different Netscape versions, can I download and run those versions on the same computer or will it create conflicts? And if I had to test only one version which one should it be - which one has the most common elements to all the versions?

View 3 Replies View Related

Why This Script Does Not Work With Netscape 7.2?

Jul 23, 2005

I am working on implementing this script to shopping cart.
Basically, it copies fill the shipping address from billing
automatically. I believe one or more syntax is not netscape
compatible. Can anyone point out which one it is and how to make it
both netscape and MS browser compatible?

I hope if I can make the script compatible for those two at extreme, it will probably work with most browser out there. As you would notice, this form also calls
another fundtion already implemented in the shopping cart. But that
function itself works on both browser. Code:

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved