Register  |  Login




Advertisement

Start Your Own Q&A Site

Create your own Q&A site easily, allowing you to quickly grow a new community around any subject matter or generate new organic traffic for your existing website.

Question

Status: Closed Points: 25 Time: 10:47 - Aug 22, 2006  

multani.sarbjit

Ajax issue with Mozilla,Firefox and Netscape browser

Hi to all,

Well i was trying to implement this sample
http://www.w3schools.com/ajax/ajax_datab...>http://www.w3schools.com/ajax/ajax_datab.../a>

where i have changed asp file to asp.net .

This is sample is running fine in I.E but Mozilla,Firefox and Netscape browser throwing Error: uncaught exception: Permission denied to call method XMLHttpRequest.open .

I have searched on internet and got this link (http://www.captain.at/howto-ajax-permiss...) to remove that error but stil not able to get success.

well i tried to do changes in selectcustomer.js but that does work.

Any help with code ???

thanks in advance

Regards,
Sarbjit

Answer Discussion
Tutorials

 

PeterNZ

Date:: Aug 30, 2006

Time:: 05:27

Hi Sarbjit,

all mozilla based browser have a security feature which requires you to enable the a specific privilege called UniversalBrowserRead.

You do this with :netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead&
quot;);

Have a look at the table on this web page: http://developer.mozilla.org/en/docs/XML...>http://developer.mozilla.org/en/docs/XML.../a>

Hope this helped.

Cheers

Peter

multani.sarbjit

Date:: Aug 30, 2006

Time:: 06:04

Thanks Peter!!!!

PeterNZ

Date:: Aug 30, 2006

Time:: 06:11

No worries. I am glad I could help you. Thanks for the points!

Cheers

Peter

Question Answered

This question has been closed, and points have been rewarded to the following experts:


PeterNZ: 25

You're welcome however to comment or give additional information or if you wish, you have the ability to write a Tutorial in the Tutorial Area.

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

PeterNZ

Date:: Aug 30, 2006

Time:: 06:11

If you get "Permission denied to call method XMLHttpRequest.open . " in Mozilla Based Browsers, enable UniversalBrowserRead with the code netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead&q
uot;);


Click here to see the Answer Discussion that preceded this tutorial.


Login to rate this tutorial: Good  |  Bad

Answer this Question

New User

Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top Experts

View More

Rank

Expert

Points

1.

nidhi

10354

2.

oracleofDelphi

6493

3.

rcastagna

5596

4.

LAGM

4848

5.

PeterNZ

3487

6.

gonzalo

2840

7.

Mason

2770

8.

jgivoni

2303

9.

xarcus

1820

10.

Anpanman

917

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it



Language Options

English:

www.quomon.com

Español:

www.quomon.es