Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Help needed with names script
Old 06-15-2008, 06:08 AM Help needed with names script
Super Talker

Latest Blog Post:
Cabbage Soup Diet
Posts: 100
Trades: 0
I have installed a babynames script on a subdomain of my site, but when I try to select a letter or type a letter in the search box it just won't give me results. Firebug reports an error:
uncaught exception: Permission denied to call method XMLHttpRequest.open

I searched in Google and on this forum, but nothing that can help me out so far.
I've asked for help from the developer, but he can't me help out apparently and also send a support ticket to my host, but nothing so far.

Anyone know what's going on?

The url is: http://www.babynames.womansindex.com/
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
 
Register now for full access!
Old 06-15-2008, 08:41 AM Re: Help needed with names script
logic ali's Avatar
Super Talker

Posts: 104
Trades: 0
Quote:
Originally Posted by girlgeek View Post
I have installed a babynames script on a subdomain of my site, but when I try to select a letter or type a letter in the search box it just won't give me results. Firebug reports an error:
uncaught exception: Permission denied to call method XMLHttpRequest.open

Anyone know what's going on?
You're making a cross-domain request, which isn't allowed. Just move the database and associated PHP onto the same domain as your site, then change the URL in the script and you're done.
logic ali is offline
Reply With Quote
View Public Profile
 
Old 06-16-2008, 06:48 AM Re: Help needed with names script
Super Talker

Latest Blog Post:
Cabbage Soup Diet
Posts: 100
Trades: 0
Thanks Logic Ali. I will give that a try and let you know how it works out.
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
Old 06-22-2008, 12:05 PM Re: Help needed with names script
Super Talker

Latest Blog Post:
Cabbage Soup Diet
Posts: 100
Trades: 0
Thanks logic ali. It worked! +rep
girlgeek is offline
Reply With Quote
View Public Profile Visit girlgeek's homepage!
 
Old 06-23-2008, 01:24 AM Re: Help needed with names script
Novice Talker

Posts: 11
Trades: 0
You need to use techniques like JSONP - script embed to make a cross domain javascript request for data.

you might want to look at $.getScript() in jquery - it is very handy - and cross domain capable...
kceleb9 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help needed with names script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22224 seconds with 12 queries