Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 29th, 2006, 11:23 PM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default JavaScript Client-Server Communication in Safari

Hello,

I'm trying to get client-server communication with JavaScript to work with Safari. Has anyone encountered any problems with this, and how did you fix it/make it work? I have gotten it to work in Firfox, IE, and other browsers, but Safari seems to not work. When trying to use the Java method (ie: new java.net.URL), I get this error: "can't find variable: java". I have tried a few other methods (XmlHttpSupport) but I still can't get any data to be passed.

If anyone has any info, links, or suggestions-- I would greatly appreciate it!

 
Old June 30th, 2006, 06:09 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

What sort of errors are you seeing in Safari? Do you have the JavaScript console enabled? You can do that from the command line by typing in the following,
Code:
    
    defaults write com.apple.Safari IncludeDebugMenu 1
To answer your question, I personally have XMLHttpRequest stuff working fine in Safari, occasionally I have to fiddle with the JS the make it work though.


Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html
 
Old June 30th, 2006, 07:45 AM
richard.york's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

Also, you'd be more likely to receive help, if you post source code, or a link to the document.

Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html





Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript in safari arafat.eajaz Javascript 0 September 5th, 2008 02:06 AM
Javascript & Safari (On MAC OS) usman_iftikhar Javascript 2 October 1st, 2006 11:01 PM
.NET javascript server client communication mcl.mark ASP.NET 1.0 and 1.1 Basics 4 March 22nd, 2006 12:31 AM
DLLs on server pulling server time or client? mussitsch Classic ASP Professional 1 March 1st, 2005 05:38 AM
Communication between client and server components zolo Classic ASP Components 0 June 29th, 2003 12:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.