/    Sign up×
Community /Pin to ProfileBookmark

Popup in Netscape 8.1

Hai!

I have created two popup window with same name. It works fine in IE.
But it wont work in Netscape 8.1 and Mozilla 1.5.1.

Netscape and Mozilla generates warning:Element refrenced by ID/Name in global scope. Use W3C standard.

Pl solve this issue.

Thanks

to post a comment
JavaScript

7 Comments(s)

Copy linkTweet thisAlerts:
@TheBearMayFeb 23.2006 — We'll need to see some code but it sounds like you're referencing it like:

document.idOfElement.value

instead of

document.getElementById("idOfElement").value
Copy linkTweet thisAlerts:
@senthilmcaauthorFeb 23.2006 — Hai Thanks for ur reply. It works fine. In next step i got 3 errors which as follows


Error: uncaught exception: [Exception... "'[JavaScript Error: "datacardUtils is not defined"

{file: "chrome://mozapps/content/autofill/datacardUtils.js" line: 1438}]' when calling

method: [nsIObserver::observe]" nsresult: "0x80570021

(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame ::

[url]ajaxian.js :: answerCall :: line 427" data: yes]


Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005

(NS_ERROR_FAILURE) [nsIControllers.removeController]" nsresult: "0x80004005

(NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/search.xml ::

onxbldestructor :: line 105" data: no]


Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005

(NS_ERROR_FAILURE) [nsIObserverService.removeObserver]" nsresult: "0x80004005

(NS_ERROR_FAILURE)" location: "JS frame :: chrome://browser/content/browser.js :: Shutdown

:: line 1770" data: no]


----

I cannot identify the error bcoz they refer the some js which is not installed in Netscape. Pl give solution .

Thanks a lot
Copy linkTweet thisAlerts:
@TheBearMayFeb 23.2006 — That sounds like your browser, or maybe an extension thereto, may not be installed correctly or may have been corrupted. The chrome directory for Mozilla has several jar files containing .js, .css and .xml files -

browser.jar contains browser.js and search.xml among others, but I don't have a dataCardsUtil.js...
Copy linkTweet thisAlerts:
@senthilmcaauthorFeb 24.2006 — Hai Thanks for ur reply.

I had downloaded Netscape recomended version from the below site

http://www.windowsbbs.com/showthread.php?t=51320

Exe file contains 18.3 MB. Where I can get Netscape 8.1 which contains all the file.

Thanks
Copy linkTweet thisAlerts:
@konithomimoFeb 24.2006 — Hai!

I have created two popup window with same name. It works fine in IE.

But it wont work in Netscape 8.1 and Mozilla 1.5.1.

Netscape and Mozilla generates warning:Element refrenced by ID/Name in global scope. Use W3C standard.

Pl solve this issue.

Thanks[/QUOTE]


Never give two elements/objects the same name/ID unless they are radio buttons or checkboxes that you want to group together.
Copy linkTweet thisAlerts:
@senthilmcaauthorFeb 27.2006 — Hai Thanks for ur reply. I had also downloaded exe form NetScape site alose. It also gives the same error.

Pl help

Thanks
×

Success!

Help @senthilmca spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...