This line of code doesn't seem to work in IE6.

v_messege.update(transport.responseText).setStyle({ background: '#dfd'});




-----Original Message-----
From: prototype-scriptaculous@googlegroups.com
[mailto:prototype-scriptacul...@googlegroups.com] On Behalf Of david
Sent: Friday, October 30, 2009 5:17 AM
To: Prototype & script.aculo.us
Subject: [Proto-Scripty] Re: Works in FF3 not IE8

Hi mjhaston,

What works and what doesn't ??
Where do you have any trouble ??
What is the question ??

--
david

On 28 oct, 20:59, mjhaston <mich...@haston.name> wrote:
>             function ajaxRequest2(){
>                                 var url = "/cgidev2p/r_chgpwd.pgm";
>                                 var pars = 'v_current=' +
escape($F('v_current')) + '&v_new=' +
> escape($F('v_new')) + '&v_confirm=' + escape($F('v_confirm')) +
> '&sessionid=' + escape($F('sessionid'));
>                                 var submitObj =
document.getElementById('goButton');
>                                 new Ajax.Request(url, {
>                                         method: 'get',
>                                         parameters: pars,
>                                         onSuccess: function(transport){
>                                                 var message =
$('message');
>                                                 if
(!transport.responseText) {
>                                                         //alert('alert
1');
>                                                 }
>                                                 else {
>                                                         if
(transport.responseText == 'You may submit your change.') {
>                                                                
v_messege.update(transport.responseText).setStyle({
>                                                                        
background: '#dfd'
>                                                                 });
>                                                                
submitObj.disabled = false;
>                                                         }
>                                                         else {
>                                                                
v_messege.update(transport.responseText).setStyle({
>                                                                        
background: '#fdd'
>                                                                 });
>                                                                
submitObj.disabled = true;
>                                                         }
>                                                 }
>                                         }
>                                 });
>                         }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to