gregerly 192
Recognized Expert New Member
Ok, I've got an ajaxed calendar that lets users add their own events. This works great in Firefox and IE. In Safari however, i'm getting errors as the response text, instead of the success or failure message. My javascript is below: - submitButton.onclick=function(){
-
//set up all neccessary variables
-
var screenname=$F('screenname');
-
var month=$F('month');
-
var day=$F('day');
-
var year=$F('year');
-
var eventName=$F('eventname');
-
var website=$F('website');
-
var shortDesc=$F('shortdesc');
-
var longDesc=$F('longdesc');
-
-
var url="./processes/submitEvent.php?rand=" + Math.random();
-
var param="screenname=" + screenname + "&month=" + month + "&day=" + day + "&year=" + year + "&eventname=" + eventName + "&website=" + website + "&shortdesc=" + shortDesc + "&longdesc=" + longDesc;
-
var request=new Ajax.Request(
-
url,
-
{
-
method: 'post',
-
parameters: param,
-
onComplete: thankUser
-
}
-
);
-
};
Basically, on click of the submit button, grab the fields, send them off to be processed, it returns success or failure, but in Safari, I'm getting an http error 503 - Service Temporarity Unavailable. Does the Prototype not support Safari?
Thanks in advance for any help with this.
FYI the site is at: Fresno Fusion Calendar
Thanks again,
Greg
5 2199 pbmods 5,821
Recognized Expert Expert
Heya, Greg.
Works great (so far as I can tell) on my Intel Mac running Safari 3b3.
gregerly 192
Recognized Expert New Member
Heya, Greg.
Works great (so far as I can tell) on my Intel Mac running Safari 3b3.
pbmods, your the best. Thanks for checking it out for me. I had someone tell me earlier that it wasn't working for them, but I can't reproduce the problem.
Thanks again.
greg
pbmods 5,821
Recognized Expert Expert
Heya, Greg.
Keep an eye out, and if you find out what's going on, post back anytime :)
See... that one was different ~_^
gregerly 192
Recognized Expert New Member
Heya, Greg.
Keep an eye out, and if you find out what's going on, post back anytime :)
See... that one was different ~_^
Ha....that was funny. Thanks pbmods!
Greg
Hi there Greg,
Have you tried to put an absolute path for your URL?
Sounds a bit funny but hey!!! Browsers are the most funnier thing I have ever come accross to program...
Regards
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Doug Lerner |
last post by:
I'm working on a client/server app that seems to work fine in OS Firefox and
Windows IE and Firefox.
However, in OS X Safari, although the UI/communications themselves work
fine, if the characters getting sent back and forth are in Japanese they
come back from the server "moji bake" (corrupted).
Anybody have any ideas why this might work...
|
by: bigdadro |
last post by:
I've created a new class using prototype.js. After I make the
ajax.request all references to this.myClassMethodorVariable are lost.
Does the ajax method blow out the object persistance? I'm fairly new to
OOP javascript so could be (and probably am) overlooking some detail.
Below is the logic of what i'm trying to do.
//Javascript code
var...
|
by: petermichaux |
last post by:
Hi,
It seems like determining element position in a web page is a difficult
task. In the position reporting source code I've looked at there are
special fixes for at least some versions of Safari and Opera. I am
doing a lot of dragdrop experimentation and in some situations need a
position reporting function. The function doesn't need to...
|
by: noballack |
last post by:
I've got a problem, I'm working with Ajax in a web with a form with a list of checkbox added to the form via an Ajax.Updater method. These added checkboxs are not been sended by the form if I use Firefox or Safari.
My source code is something like that:
<script type="text/javascript"...
|
by: ext237 |
last post by:
Simple ajax call seems to have some issues in Firefox. The "onComplete:" is
called BEFORE the response is returned by the call. Is there a coding issue
or a work around?
var ajax = new Ajax.Request( url, {method: 'post', parameters: params,
onComplete: evalInfo });
function evalInfo( request )
{
// do stuff with request
| |
by: JDeats |
last post by:
>From my development envrionment (i.e. a single WinXP notebook PC) I
have a basic AJAX application that is making the call to a Windows
Form page that just returns the request back to the AJAX client from
the JavaScript HttpXMLRequest
protected void Page_Load(object sender, EventArgs e)
{
string txt = "";
string input = null;
|
by: srkidd12 |
last post by:
Hello,
I am having problems with using AJAX to call information to my primary ASP page from a secondary asp page that brings in the data I want to display.
I'm having the onfocus event trigger the function show() to call in the data from the secondary asp page. However, when I click on the record in the list, nothing happens. The...
|
by: luftikus143 |
last post by:
Hi there,
I recently upgraded to Firefox 3 and suddenly my Ajax.Updater doesn't work anymore. Firefox gives me a "Security Error"... I am using the recent versions of prototype and script.xx.us.
I am not an Ajax-geek.... But it worked smoothly in Safari and Firefox until now.. Thanks for giving me hint!
<a href='#'...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |