''m from cartagena Colombia(south america) .... i''m learning prototype, i have a little problem using Ajax.Updater. i have this code in html page : <head> <script src="prototype.js" language="javascript" type="text/ javascript"> </script> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ajax Updater</title> <script language="javascript" type="text/javascript"> function ajax(){ alert(''hola''); new Ajax.Updater("contenido", "carga.html", {method: ''post'',onFailure : function(resp) { alert("Oops, there''s been an error."); } }); } </script> </head> <body> <h1 align="center">ajax</h1> <br /> <br /> <input name="ajax" type="submit" value="ajax" onclick="ajax();" /> <div id="contenido"> Update code Here</div> </body> </html> ---------------------------------- when i test my code in Firefox, Opera and IE6, its works perfectly but when i test this code in IE7 its doesn''t works, div isn''t update ... i would like that you help me with this problem thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You''ll get better help if you describe your error and how your app is failing. Your problem is likely is that Prototype isn''t being loaded. A quick way to check is to run the following in your javascript console: alert(Prototype); Running an admittedly older version of Prototype, I didn''t run into any significant trouble with your code. TAG On May 7, 2008, at 11:35 AM, halflopez wrote:> > ''m from cartagena Colombia(south america) .... > > i''m learning prototype, i have a little problem using Ajax.Updater. i > have this code in html page : > > <head> > <script src="prototype.js" language="javascript" type="text/ > javascript"> </script> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > <title>ajax Updater</title> > <script language="javascript" type="text/javascript"> > function ajax(){ > alert(''hola''); > new Ajax.Updater("contenido", "carga.html", {method: > ''post'',onFailure : > function(resp) { > alert("Oops, there''s been an error."); > } > }); > > } > </script> > > </head> > <body> > <h1 align="center">ajax</h1> > <br /> > <br /> > <input name="ajax" type="submit" value="ajax" onclick="ajax();" /> > <div id="contenido"> Update code Here</div> > </body> > </html> > > ---------------------------------- > when i test my code in Firefox, Opera and IE6, its works perfectly but > when i test this code in IE7 its doesn''t works, div isn''t update ... > i would like that you help me with this problem > thanks > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
it''s a little difficult to explain that in english ... i expect that you understand me... when i test my code in Internet explorer 7 ... i only get the alert ''hola'' that i write in the first line of my function but the Ajax.Updater doesn''t do anything,i think that is an incompatibility betwent IE7 and prototype 1.6.2 althouth i have test with an older version of prototype.... but en IE6, FireFox an Opera the code works perfectly i''m doing only a little code .... an html that have a button with an onclick event that calls a javascript function : this funtion shows an alert(for test that the function was excuted) and next have an Ajax.Updater that actualize a div in the same html .... i hope you could help me ... On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> You''ll get better help if you describe your error and how your app is > failing. > > Your problem is likely is that Prototype isn''t being loaded. A quick > way to check is to run the following in your javascript console: > alert(Prototype); > > Running an admittedly older version of Prototype, I didn''t run into > any significant trouble with your code. > > TAG > > On May 7, 2008, at 11:35 AM, halflopez wrote: > > > > > ''m from cartagena Colombia(south america) .... > > > i''m learning prototype, i have a little problem using Ajax.Updater. i > > have this code in html page : > > > <head> > > <script src="prototype.js" language="javascript" type="text/ > > javascript"> </script> > > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > > <title>ajax Updater</title> > > <script language="javascript" type="text/javascript"> > > function ajax(){ > > alert(''hola''); > > new Ajax.Updater("contenido", "carga.html", {method: > > ''post'',onFailure : > > function(resp) { > > alert("Oops, there''s been an error."); > > } > > }); > > > } > > </script> > > > </head> > > <body> > > <h1 align="center">ajax</h1> > > <br /> > > <br /> > > <input name="ajax" type="submit" value="ajax" onclick="ajax();" /> > > <div id="contenido"> Update code Here</div> > > </body> > > </html> > > > ---------------------------------- > > when i test my code in Firefox, Opera and IE6, its works perfectly but > > when i test this code in IE7 its doesn''t works, div isn''t update ... > > i would like that you help me with this problem > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Like I said, I ran the code without trouble (I just tried it with the current Prototype version too). The only thing I had to "fix" (and I suspect it''s an email artifact) is the line break in the <script> type. If it still doesn''t work (and it should).... What error message are you getting? DId you try testing for the presence of Prototype through the Javascript console like I suggested? alert(Prototype); TAG On May 8, 2008, at 12:15 AM, halflopez wrote:> > it''s a little difficult to explain that in english ... i expect that > you understand me... > > when i test my code in Internet explorer 7 ... i only get the alert > ''hola'' that i write in the first line of my function but the > Ajax.Updater doesn''t do anything,i think that is an incompatibility > betwent IE7 and prototype 1.6.2 althouth i have test with an older > version of prototype.... but en IE6, FireFox an Opera the code works > perfectly > i''m doing only a little code .... an html that have a button with an > onclick event that calls a javascript function : > this funtion shows an alert(for test that the function was excuted) > and next have an Ajax.Updater that actualize a div in the same > html .... > > i hope you could help me ... > > On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: >> You''ll get better help if you describe your error and how your app is >> failing. >> >> Your problem is likely is that Prototype isn''t being loaded. A quick >> way to check is to run the following in your javascript console: >> alert(Prototype); >> >> Running an admittedly older version of Prototype, I didn''t run into >> any significant trouble with your code. >> >> TAG >> >> On May 7, 2008, at 11:35 AM, halflopez wrote: >> >> >> >>> ''m from cartagena Colombia(south america) .... >> >>> i''m learning prototype, i have a little problem using >>> Ajax.Updater. i >>> have this code in html page : >> >>> <head> >>> <script src="prototype.js" language="javascript" type="text/ >>> javascript"> </script> >>> <meta http-equiv="Content-Type" content="text/html; >>> charset=utf-8" /> >>> <title>ajax Updater</title> >>> <script language="javascript" type="text/javascript"> >>> function ajax(){ >>> alert(''hola''); >>> new Ajax.Updater("contenido", "carga.html", {method: >>> ''post'',onFailure : >>> function(resp) { >>> alert("Oops, there''s been an error."); >>> } >>> }); >> >>> } >>> </script> >> >>> </head> >>> <body> >>> <h1 align="center">ajax</h1> >>> <br /> >>> <br /> >>> <input name="ajax" type="submit" value="ajax" onclick="ajax();" /> >>> <div id="contenido"> Update code Here</div> >>> </body> >>> </html> >> >>> ---------------------------------- >>> when i test my code in Firefox, Opera and IE6, its works perfectly >>> but >>> when i test this code in IE7 its doesn''t works, div isn''t update ... >>> i would like that you help me with this problem >>> thanks > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
hello i don''t understood you when you said : "is the line break in the <script> type" if you try to say that <script> type is in another line it was by the mail .... the line really is like this: <script src="prototype.js" language="javascript" type="text/ javascript"> </script> ......... when i test alert(Prototype); appears an alert with [object object] ...... ...... about your cuestion: - What error message are you getting? i''m not getting any message from my IE7 ... only the div doesn''t not actualize... could i sent you by mail my example? thanks a lot. Hector Lopez F. On 8 mayo, 08:31, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote:> Like I said, I ran the code without trouble (I just tried it with the > current Prototype version too). The only thing I had to "fix" (and I > suspect it''s an email artifact) is the line break in the <script> type. > > If it still doesn''t work (and it should).... What error message are > you getting? DId you try testing for the presence of Prototype through > the Javascript console like I suggested? > alert(Prototype); > > TAG > > On May 8, 2008, at 12:15 AM, halflopez wrote: > > > > > it''s a little difficult to explain that in english ... i expect that > > you understand me... > > > when i test my code in Internet explorer 7 ... i only get the alert > > ''hola'' that i write in the first line of my function but the > > Ajax.Updater doesn''t do anything,i think that is an incompatibility > > betwent IE7 and prototype 1.6.2 althouth i have test with an older > > version of prototype.... but en IE6, FireFox an Opera the code works > > perfectly > > i''m doing only a little code .... an html that have a button with an > > onclick event that calls a javascript function : > > this funtion shows an alert(for test that the function was excuted) > > and next have an Ajax.Updater that actualize a div in the same > > html .... > > > i hope you could help me ... > > > On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > >> You''ll get better help if you describe your error and how your app is > >> failing. > > >> Your problem is likely is that Prototype isn''t being loaded. A quick > >> way to check is to run the following in your javascript console: > >> alert(Prototype); > > >> Running an admittedly older version of Prototype, I didn''t run into > >> any significant trouble with your code. > > >> TAG > > >> On May 7, 2008, at 11:35 AM, halflopez wrote: > > >>> ''m from cartagena Colombia(south america) .... > > >>> i''m learning prototype, i have a little problem using > >>> Ajax.Updater. i > >>> have this code in html page : > > >>> <head> > >>> <script src="prototype.js" language="javascript" type="text/ > >>> javascript"> </script> > >>> <meta http-equiv="Content-Type" content="text/html; > >>> charset=utf-8" /> > >>> <title>ajax Updater</title> > >>> <script language="javascript" type="text/javascript"> > >>> function ajax(){ > >>> alert(''hola''); > >>> new Ajax.Updater("contenido", "carga.html", {method: > >>> ''post'',onFailure : > >>> function(resp) { > >>> alert("Oops, there''s been an error."); > >>> } > >>> }); > > >>> } > >>> </script> > > >>> </head> > >>> <body> > >>> <h1 align="center">ajax</h1> > >>> <br /> > >>> <br /> > >>> <input name="ajax" type="submit" value="ajax" onclick="ajax();" /> > >>> <div id="contenido"> Update code Here</div> > >>> </body> > >>> </html> > > >>> ---------------------------------- > >>> when i test my code in Firefox, Opera and IE6, its works perfectly > >>> but > >>> when i test this code in IE7 its doesn''t works, div isn''t update ... > >>> i would like that you help me with this problem > >>> thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Sure, you can attach it. It might be easier to post it online so everyone can look at it. TAG On May 8, 2008, at 9:48 AM, halflopez wrote:> > hello i don''t understood you when you said : "is the line break in the > <script> type" if you try to say that <script> type is in another line > it was by the mail .... the line really is like this: > <script src="prototype.js" language="javascript" type="text/ > javascript"> </script> > ......... > when i test alert(Prototype); appears an alert with [object > object] ...... > ...... > about your cuestion: > - What error message are you getting? i''m not getting any message > from my IE7 ... only the div doesn''t not actualize... > > could i sent you by mail my example? > > thanks a lot. > Hector Lopez F. > > On 8 mayo, 08:31, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: >> Like I said, I ran the code without trouble (I just tried it with the >> current Prototype version too). The only thing I had to "fix" (and I >> suspect it''s an email artifact) is the line break in the <script> >> type. >> >> If it still doesn''t work (and it should).... What error message are >> you getting? DId you try testing for the presence of Prototype >> through >> the Javascript console like I suggested? >> alert(Prototype); >> >> TAG >> >> On May 8, 2008, at 12:15 AM, halflopez wrote: >> >> >> >>> it''s a little difficult to explain that in english ... i expect that >>> you understand me... >> >>> when i test my code in Internet explorer 7 ... i only get the alert >>> ''hola'' that i write in the first line of my function but the >>> Ajax.Updater doesn''t do anything,i think that is an incompatibility >>> betwent IE7 and prototype 1.6.2 althouth i have test with an older >>> version of prototype.... but en IE6, FireFox an Opera the code >>> works >>> perfectly >>> i''m doing only a little code .... an html that have a button with an >>> onclick event that calls a javascript function : >>> this funtion shows an alert(for test that the function was excuted) >>> and next have an Ajax.Updater that actualize a div in the same >>> html .... >> >>> i hope you could help me ... >> >>> On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: >>>> You''ll get better help if you describe your error and how your >>>> app is >>>> failing. >> >>>> Your problem is likely is that Prototype isn''t being loaded. A >>>> quick >>>> way to check is to run the following in your javascript console: >>>> alert(Prototype); >> >>>> Running an admittedly older version of Prototype, I didn''t run into >>>> any significant trouble with your code. >> >>>> TAG >> >>>> On May 7, 2008, at 11:35 AM, halflopez wrote: >> >>>>> ''m from cartagena Colombia(south america) .... >> >>>>> i''m learning prototype, i have a little problem using >>>>> Ajax.Updater. i >>>>> have this code in html page : >> >>>>> <head> >>>>> <script src="prototype.js" language="javascript" type="text/ >>>>> javascript"> </script> >>>>> <meta http-equiv="Content-Type" content="text/html; >>>>> charset=utf-8" /> >>>>> <title>ajax Updater</title> >>>>> <script language="javascript" type="text/javascript"> >>>>> function ajax(){ >>>>> alert(''hola''); >>>>> new Ajax.Updater("contenido", "carga.html", {method: >>>>> ''post'',onFailure : >>>>> function(resp) { >>>>> alert("Oops, there''s been an >>>>> error."); >>>>> } >>>>> }); >> >>>>> } >>>>> </script> >> >>>>> </head> >>>>> <body> >>>>> <h1 align="center">ajax</h1> >>>>> <br /> >>>>> <br /> >>>>> <input name="ajax" type="submit" value="ajax" >>>>> onclick="ajax();" /> >>>>> <div id="contenido"> Update code Here</div> >>>>> </body> >>>>> </html> >> >>>>> ---------------------------------- >>>>> when i test my code in Firefox, Opera and IE6, its works perfectly >>>>> but >>>>> when i test this code in IE7 its doesn''t works, div isn''t >>>>> update ... >>>>> i would like that you help me with this problem >>>>> thanks > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I sent you the code .... have you ever see it...?? On 8 mayo, 11:07, Tom Gregory <tomg-PGZyUNKar/Q@public.gmane.org> wrote:> Sure, you can attach it. It might be easier to post it online so > everyone can look at it. > > TAG > > On May 8, 2008, at 9:48 AM, halflopez wrote: > > > > > hello i don''t understood you when you said : "is the line break in the > > <script> type" if you try to say that <script> type is in another line > > it was by the mail .... the line really is like this: > > <script src="prototype.js" language="javascript" type="text/ > > javascript"> </script> > > ......... > > when i test alert(Prototype); appears an alert with [object > > object] ...... > > ...... > > about your cuestion: > > - What error message are you getting? i''m not getting any message > > from my IE7 ... only the div doesn''t not actualize... > > > could i sent you by mail my example? > > > thanks a lot. > > Hector Lopez F. > > > On 8 mayo, 08:31, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > >> Like I said, I ran the code without trouble (I just tried it with the > >> current Prototype version too). The only thing I had to "fix" (and I > >> suspect it''s an email artifact) is the line break in the <script> > >> type. > > >> If it still doesn''t work (and it should).... What error message are > >> you getting? DId you try testing for the presence of Prototype > >> through > >> the Javascript console like I suggested? > >> alert(Prototype); > > >> TAG > > >> On May 8, 2008, at 12:15 AM, halflopez wrote: > > >>> it''s a little difficult to explain that in english ... i expect that > >>> you understand me... > > >>> when i test my code in Internet explorer 7 ... i only get the alert > >>> ''hola'' that i write in the first line of my function but the > >>> Ajax.Updater doesn''t do anything,i think that is an incompatibility > >>> betwent IE7 and prototype 1.6.2 althouth i have test with an older > >>> version of prototype.... but en IE6, FireFox an Opera the code > >>> works > >>> perfectly > >>> i''m doing only a little code .... an html that have a button with an > >>> onclick event that calls a javascript function : > >>> this funtion shows an alert(for test that the function was excuted) > >>> and next have an Ajax.Updater that actualize a div in the same > >>> html .... > > >>> i hope you could help me ... > > >>> On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > >>>> You''ll get better help if you describe your error and how your > >>>> app is > >>>> failing. > > >>>> Your problem is likely is that Prototype isn''t being loaded. A > >>>> quick > >>>> way to check is to run the following in your javascript console: > >>>> alert(Prototype); > > >>>> Running an admittedly older version of Prototype, I didn''t run into > >>>> any significant trouble with your code. > > >>>> TAG > > >>>> On May 7, 2008, at 11:35 AM, halflopez wrote: > > >>>>> ''m from cartagena Colombia(south america) .... > > >>>>> i''m learning prototype, i have a little problem using > >>>>> Ajax.Updater. i > >>>>> have this code in html page : > > >>>>> <head> > >>>>> <script src="prototype.js" language="javascript" type="text/ > >>>>> javascript"> </script> > >>>>> <meta http-equiv="Content-Type" content="text/html; > >>>>> charset=utf-8" /> > >>>>> <title>ajax Updater</title> > >>>>> <script language="javascript" type="text/javascript"> > >>>>> function ajax(){ > >>>>> alert(''hola''); > >>>>> new Ajax.Updater("contenido", "carga.html", {method: > >>>>> ''post'',onFailure : > >>>>> function(resp) { > >>>>> alert("Oops, there''s been an > >>>>> error."); > >>>>> } > >>>>> }); > > >>>>> } > >>>>> </script> > > >>>>> </head> > >>>>> <body> > >>>>> <h1 align="center">ajax</h1> > >>>>> <br /> > >>>>> <br /> > >>>>> <input name="ajax" type="submit" value="ajax" > >>>>> onclick="ajax();" /> > >>>>> <div id="contenido"> Update code Here</div> > >>>>> </body> > >>>>> </html> > > >>>>> ---------------------------------- > >>>>> when i test my code in Firefox, Opera and IE6, its works perfectly > >>>>> but > >>>>> when i test this code in IE7 its doesn''t works, div isn''t > >>>>> update ... > >>>>> i would like that you help me with this problem > >>>>> thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I need help whit this problem On 8 mayo, 14:47, halflopez <halflo...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I sent you the code .... have you ever see it...?? > > On 8 mayo, 11:07, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > > > Sure, you can attach it. It might be easier to post it online so > > everyone can look at it. > > > TAG > > > On May 8, 2008, at 9:48 AM, halflopez wrote: > > > > hello i don''t understood you when you said : "is the line break in the > > > <script> type" if you try to say that <script> type is in another line > > > it was by the mail .... the line really is like this: > > > <script src="prototype.js" language="javascript" type="text/ > > > javascript"> </script> > > > ......... > > > when i test alert(Prototype); appears an alert with [object > > > object] ...... > > > ...... > > > about your cuestion: > > > - What error message are you getting? i''m not getting any message > > > from my IE7 ... only the div doesn''t not actualize... > > > > could i sent you by mail my example? > > > > thanks a lot. > > > Hector Lopez F. > > > > On 8 mayo, 08:31, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > > >> Like I said, I ran the code without trouble (I just tried it with the > > >> current Prototype version too). The only thing I had to "fix" (and I > > >> suspect it''s an email artifact) is the line break in the <script> > > >> type. > > > >> If it still doesn''t work (and it should).... What error message are > > >> you getting? DId you try testing for the presence of Prototype > > >> through > > >> the Javascript console like I suggested? > > >> alert(Prototype); > > > >> TAG > > > >> On May 8, 2008, at 12:15 AM, halflopez wrote: > > > >>> it''s a little difficult to explain that in english ... i expect that > > >>> you understand me... > > > >>> when i test my code in Internet explorer 7 ... i only get the alert > > >>> ''hola'' that i write in the first line of my function but the > > >>> Ajax.Updater doesn''t do anything,i think that is an incompatibility > > >>> betwent IE7 and prototype 1.6.2 althouth i have test with an older > > >>> version of prototype.... but en IE6, FireFox an Opera the code > > >>> works > > >>> perfectly > > >>> i''m doing only a little code .... an html that have a button with an > > >>> onclick event that calls a javascript function : > > >>> this funtion shows an alert(for test that the function was excuted) > > >>> and next have an Ajax.Updater that actualize a div in the same > > >>> html .... > > > >>> i hope you could help me ... > > > >>> On 7 mayo, 15:08, Tom Gregory <t...-PGZyUNKar/Q@public.gmane.org> wrote: > > >>>> You''ll get better help if you describe your error and how your > > >>>> app is > > >>>> failing. > > > >>>> Your problem is likely is that Prototype isn''t being loaded. A > > >>>> quick > > >>>> way to check is to run the following in your javascript console: > > >>>> alert(Prototype); > > > >>>> Running an admittedly older version of Prototype, I didn''t run into > > >>>> any significant trouble with your code. > > > >>>> TAG > > > >>>> On May 7, 2008, at 11:35 AM, halflopez wrote: > > > >>>>> ''m from cartagena Colombia(south america) .... > > > >>>>> i''m learning prototype, i have a little problem using > > >>>>> Ajax.Updater. i > > >>>>> have this code in html page : > > > >>>>> <head> > > >>>>> <script src="prototype.js" language="javascript" type="text/ > > >>>>> javascript"> </script> > > >>>>> <meta http-equiv="Content-Type" content="text/html; > > >>>>> charset=utf-8" /> > > >>>>> <title>ajax Updater</title> > > >>>>> <script language="javascript" type="text/javascript"> > > >>>>> function ajax(){ > > >>>>> alert(''hola''); > > >>>>> new Ajax.Updater("contenido", "carga.html", {method: > > >>>>> ''post'',onFailure : > > >>>>> function(resp) { > > >>>>> alert("Oops, there''s been an > > >>>>> error."); > > >>>>> } > > >>>>> }); > > > >>>>> } > > >>>>> </script> > > > >>>>> </head> > > >>>>> <body> > > >>>>> <h1 align="center">ajax</h1> > > >>>>> <br /> > > >>>>> <br /> > > >>>>> <input name="ajax" type="submit" value="ajax" > > >>>>> onclick="ajax();" /> > > >>>>> <div id="contenido"> Update code Here</div> > > >>>>> </body> > > >>>>> </html> > > > >>>>> ---------------------------------- > > >>>>> when i test my code in Firefox, Opera and IE6, its works perfectly > > >>>>> but > > >>>>> when i test this code in IE7 its doesn''t works, div isn''t > > >>>>> update ... > > >>>>> i would like that you help me with this problem > > >>>>> thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, May 9, 2008 at 9:52 AM, halflopez <halflopez-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I need help whit this problemI tried running your code in IE8 running in IE7 mode (and admittedly, I''m not sure how close it is to IE7), and everything worked fine. Unfortunately, I don''t have access to a regular IE7 to check. :Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, May 9, 2008 at 10:30 AM, Dan Dorman <dan.dorman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Unfortunately, I don''t have access to a regular IE7 to check.Update: I was able to test this on IE7 after all (version 7.0.5730.11 to be precise) and it still worked just fine. So I''m not sure what your problem might be. Try deleting your cache in IE7, maybe? :Dan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I delete my cache and the problem is still here .... what could it be ........ a compatibility problem?? ...... There are some form to detect the browser ... and do something diferent with IE7?? On 9 mayo, 11:42, "Dan Dorman" <dan.dorman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Fri, May 9, 2008 at 10:30 AM, Dan Dorman <dan.dorman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > Unfortunately, I don''t have access to a regular IE7 to check. > > Update: I was able to test this on IE7 after all (version 7.0.5730.11 > to be precise) and it still worked just fine. So I''m not sure what > your problem might be. Try deleting your cache in IE7, maybe? > > :Dan--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---