Hello,
I have begun working with ajax recently to populate a drop down in a
form, where prviously the whole page would have to reload. Works great.
Where the form originally had a standard drop down like this:
<Select Method="Shippin gMethod">
<option>method1 </option>
<option>method2 </option>
<option>method3 </option>
</Select>
It now pulls form an external page and ajax uses
document.getEle mentById('myspa n').innerHTML = result;
and puts it here inside my form:
<form name="form1">
(stuff snipped)
<span name="myspan" id="myspan"></span>
</form>
All works well in that the form posts properly.
However, previously there was the following javascript to trigger a
function when the <Select Method="Shiping Method"was changed:
<script language="JavaS cript" type="text/JavaScript">
document.getEle mentsByName("Sh ippingMethod")[0].onchange=total ;
</SCRIPT>
This now results in an error:
document.form1. ShippingMethod is null or not an object
What do I do about that? 9 1032
" <Select Method="Shippin gMethod""
This is a typo. Should of course be <Select Name="ShippingM ethod">
One other problem is that there is a validation script that runs to make
sure someone has selected an option, as the first one in the list is
<option value="">Please Select</option>
if (theForm.Shippi ngMethod.value == "")
{
alert("Please Select a shipping method.");
theForm.Shippin gMethod.focus() ;
return (false);
}
This still works with the ajax version in IE but now fails in Mozilla.
Alex wrote:
As stated, the Select Method was a typo.
Please forgive me for replying one minute before that. I really should have
asked my crystal ball first, but it is currently under maintenance, you see.
Also, things were snipped for brevity.
Very clever. NOT.
Of course the <formhas an action.
Post it, then.
I have done away with
document.getEle mentsByName("Sh ippingMethod")[0].onchange=total ;
as you are right it needless. So that problem is solved. The one
regarding the validation remains.
PEBKAC. Trust me.
[Top post]
You are quoting like a bat. Please stop that. [tm]
PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.js:16
MC wrote:
We can't all be .js experts and worship your greatness oh one of great
talent.
Geez, can't you be nice to anybody???? or is it your goal to belittle
and put down everyone here?
For me it has been easier not to get upset when I imagine, that any
irritating person in fact may be sick, suffering from Asperger syndrome,
ADHD, autism or some other personal disorder. I pretend for myself being a
physician observing the person and asking myself: is it wise for me to start
shouting and screaming with red face, kicking chairs and spoiling my day,
when I have got such a patient to talk with?
I do not claim any poster here in reality has such disorders. It is my
imagination only and on purpose. If one has not had the opportunity to live
with a person having e.g. Asperger syndrome, then it might help to google
with the word and get astonished. When being extreme cases those people can
be so astonishing that after some time you might feel they are sympathetic
in their almost complete inability to understand human feelings. Is it their
fault if they are sick?
Thank you for the laugh!
Yes,
It almost does seem as if he has mental issues. The bitter vile tone of
messages actually makes me not want the help he provides. Its like buying
gas, you need it, but you cringe every time you have to get some.
"optimistx" <op************ *@poistahotmail .comwrote in message
news:48******** *************** @news.24online. fi...
MC wrote:
>We can't all be .js experts and worship your greatness oh one of great talent.
Geez, can't you be nice to anybody???? or is it your goal to belittle and put down everyone here?
For me it has been easier not to get upset when I imagine, that any
irritating person in fact may be sick, suffering from Asperger syndrome,
ADHD, autism or some other personal disorder. I pretend for myself being a
physician observing the person and asking myself: is it wise for me to
start
shouting and screaming with red face, kicking chairs and spoiling my day,
when I have got such a patient to talk with?
I do not claim any poster here in reality has such disorders. It is my
imagination only and on purpose. If one has not had the opportunity to
live
with a person having e.g. Asperger syndrome, then it might help to google
with the word and get astonished. When being extreme cases those people
can
be so astonishing that after some time you might feel they are sympathetic
in their almost complete inability to understand human feelings. Is it
their
fault if they are sick?
On Aug 25, 8:10�am, "optimistx" <optimistxPoi.. .@poistahotmail .com>
wrote:
MC wrote:
We can't all be .js experts and worship your greatness oh one of great
talent.
Geez, can't you be nice to anybody???? or is it your goal to belittle
and put down everyone here?
For me it has been easier not to get upset when I imagine, that any
irritating person in fact may be sick, suffering fromAspergersyn drome,
ADHD, autism or some other personal disorder. I pretend for myself being a
physician observing the person and asking myself: is it wise for me to start
shouting and screaming with red face, kicking chairs and spoiling my day,
when I have got such a patient to talk with?
I do not claim any poster here in reality has such disorders. It is my
imagination only and on purpose. If one has not had the opportunity to live
with a person having e.g.Aspergersyn drome, then it might help to google
with the word and get astonished. When being extreme cases those people can
be so astonishing that after some time you might feel they are sympathetic
in their almost complete inability to understand human feelings. Is it their
fault if they are sick?
People with Asperger's are NOT irritating.
People without Asperger's though are highly irritating TO US!!!
I find this extremelly offensive what the person wrote about
Asperger's people in such a derogaroty way, but maybe it's not his
fault, maybe he is just 'diseased' with something called IGNORANCE?
I think so.
Roza www.myspace.com/rozagy
Autistic, beautiful girl and proud of being ME!
On Aug 25, 5:52�pm, "MC" <mica[removethis]@aisus.comwrote :
Thank you for the laugh!
Yes,
It almost does seem as if he has mental issues. The bitter vile tone of
messages actually makes me not want the help he provides. Its like buying
gas, you need it, but you cringe every time you have to get some.
"optimistx" <optimistxPoi.. .@poistahotmail .comwrote in message
news:48******** *************** @news.24online. fi...
MC wrote:
We can't all be .js experts and worship your greatness oh one of great
talent.
Geez, can't you be nice to anybody???? or is it your goal to belittle
and put down everyone here?
For me it has been easier not to get upset when I imagine, that any
irritating person in fact may be sick, suffering fromAspergersyn drome,
ADHD, autism or some other personal disorder. I pretend for myself being a
physician observing the person and asking myself: is it wise for me to
start
shouting and screaming with red face, kicking chairs and spoiling my day,
when I have got such a patient to talk with?
I do not claim any poster here in reality has such disorders. It is my
imagination only and on purpose. If one has not had the opportunity to
live
with a person having e.g.Aspergersyn drome, then it might help to google
with the word and get astonished. When being extreme cases those people
can
be so astonishing that after some time you might feel they are sympathetic
in their almost complete inability to understand human feelings. Is it
their
fault if they are sick?- Hide quoted text -
- Show quoted text -
Yes, Gas, I hear it - coming out of your mouth.
what do you use to talk then, your big fat a** LOL :-))))))
On Aug 25, 8:10�am, "optimistx" <optimistxPoi.. .@poistahotmail .com>
wrote:
MC wrote:
We can't all be .js experts and worship your greatness oh one of great
talent.
Geez, can't you be nice to anybody???? or is it your goal to belittle
and put down everyone here?
For me it has been easier not to get upset when I imagine, that any
irritating person in fact may be sick, suffering fromAspergersyn drome,
ADHD, autism or some other personal disorder. I pretend for myself being a
physician observing the person and asking myself: is it wise for me to start
shouting and screaming with red face, kicking chairs and spoiling my day,
when I have got such a patient to talk with?
I do not claim any poster here in reality has such disorders. It is my
imagination only and on purpose. If one has not had the opportunity to live
with a person having e.g.Aspergersyn drome, then it might help to google
with the word and get astonished. When being extreme cases those people can
be so astonishing that after some time you might feel they are sympathetic
in their almost complete inability to understand human feelings. Is it their
fault if they are sick?
THIS is a bunch of crap you wrote here! And your English is awful!
English is my second language, too but my God, yours is something
else...
Rozagy, artistic Autistic wrote:
"optimistx" wrote:
>MC wrote:
>>[...]
[...]
[...]
Could the three of you please FOAD? Thanks in advance.
PointedEars, f1
--
Prototype.js was written by people who don't know javascript for people
who don't know javascript. People who don't know javascript are not
the best source of advice on designing systems that use javascript.
-- Richard Cornford, cljs, <f8************ *******@news.de mon.co.uk>
Sn!pe crossposted mindboggingly stupid:
optimistx <op************ *@poistahotmail .comwrote:
>Thomas 'PointedEars' Lahn wrote:
>>Rozagy, artistic Autistic wrote: "optimistx " wrote: MC wrote: >[...] [...] [...] Could the three of you please FOAD? Thanks in advance.
PointedEars , f1
Sorry, I will not FOAD. FYI, TPAC because ITIOT is very typical for ASP.
[ahem] 'scuse me, guys; is this article yours?
It seems to have crept through a gap in the fence.
*plonk* This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= |
last post by:
I'm about to finally make the jump and start a new site using AJAX. THe
question i have for all of you AJAX developers out there is which one?
1. The Standard AJAX frame work
2. The Tool kit.
3. Or are there others out there.
4. Should i not do AJAX at all because it still posts back the entire page
even though
only the section is refreshed. (someone tell me i'm wrong here and why
please!)
|
by: =?Utf-8?B?VG9u?= |
last post by:
Hello,
I want to understand teh benefits of ajax technology. Does anyone has a good
website where AJAX EXTENSIONS is worked out so I really understand it.
There a 2 main questions:
1) How about the form load event. Why should it fire when I put a button in
a update panel? Is this necessary and is only the other controls related to
the update panel send back? Or the whole page (If this is true I really do
not get it). But please answer...
|
by: Cirene |
last post by:
3 quick questions...
1. Are the controls in the AJAX Futures download "beta" or the release and
stable version?
2. Also, where is the best way to learn how to implement these? (Other than
by downloading the stuff at asp.net/ajax.)
3. When will the new version of AJAX be out? Will it be included with the
Visual Studio 2008 release?
|
by: Jonathan Wood |
last post by:
Greetings,
I'd like to implement some AJAX features on an existing ASP.NET site. I have
one example of doing this but, otherwise, don't know much about it.
I have one question, though, about getting started: I notice that there are
project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?
|
by: sheldonlg |
last post by:
I am looking for a clean solution to a problem that I solved in, what I
call, a "dirty" way.
Here is what I want to do. I have a dropdown list. Clicking on an item
in the dropdown list invokes an AJAX call that gets data which populates
the entire lower part of my screen. It does this with an innerHTML for
the div tag that holds all of this. This works fine.
I also have an "Edit" button that I want to show next to dropdown list,...
| |
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 usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |