Wonderful!! Now I owe you a beer to! Thanks :-) __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com On 5-Aug-06, at 10:43 AM, Eric Anderson wrote:Alex Duffield wrote: Eric, thanks for the answ
Alex Duffield wrote:
I use
$('b_country').value = $F('c_country');
new Effect.Highlight($('b_country'));
This works great on everything on Firefox, but fails on the select box
in IE.
Perhaps:
$$('#b_country option[value='+$F('c_country')+']')[0].selected = true;
The above code is just of
Alex Duffield wrote:
Eric, thanks for the answer. I was hoping to be able to get the options
(parameters in particular) that where used in the origian request. Oh
well. Ill find another solution.
H I guess I was not very clear. The following statement was the
primary answer to your
cheers! I owe you a beer. __ Alex Duffield . Principal . InControl Solutions . http://www.incontrolsolutions.com On 5-Aug-06, at 9:37 AM, Michael Peters wrote:Alex Duffield wrote: That looks like it will work.. or I could just p
Alex Duffield wrote:
> That looks like it will work..
>
> or I could just pass the prams on to my complete function.. NO?
>
> onComplete: function(response) {
> yourOnComplete(response,prams);
> }
Exactly. That's using the closure.
--
Michael Peters
Developer
Plus Three, LP
___
That looks like it will work.. or I could just pass the prams on to my complete function.. NO?onComplete: function(response) { yourOnComplete(response,prams);} __ Alex Duffield . Principal . InControl Solutions . http://www.inco
Alex Duffield wrote:
> Eric, thanks for the answer. I was hoping to be able to get the options
> (parameters in particular) that where used in the origian request. Oh
> well. Ill find another solution.
You could just use a closure:
new Ajax.Request(
url,
{
parameters: params,
...
Eric, thanks for the answer. I was hoping to be able to get the options (parameters in particular) that where used in the origian request. Oh well. Ill find another solution. __ Alex Duffield . Principal . InControl Solutions . h
I am working on a Form, where there is customer and billing info, In a lot of cases, these would be the same, so I have a "Copy from above" button that copies the customer info into the billing info fields. I use $('b_country').value = $F('c_country'); new Effect.Highlight($('b_country'));This wor
Alex Duffield wrote:
I am curious what gets passed back from an completed Ajax.Request call?
All of the Ajax.Request event handlers receive two arguments. The first
is the XMLHttpRequest object used to make the Ajax request. This is
often referred to as the transport in the Prototype library.
10 matches
Mail list logo