Having some trouble inserting some AJAX onto IE. I am going through the Agile Web Development with Rails pdf beta book and have run into a problem at Task D2 "An Ajax Based Cart" I have successfully made it this far in working through the Depot application example. However, It appears that IE dosn''t want to let me add this table to my HTML page. I even changed the HTML <TABLE> in the partial to <TBODY> ( I googled that up). I am running IE v 6.0 on a XP SP2 pc. Here is the log snippet. Processing StoreController#add_to_cart (for 127.0.0.1 at 2006-08-18 19:07:22) [POST] Session ID: ef23105e9ab011e49188ae2526b80aa8 Parameters: {"commit"=>"Add to Cart", "action"=>"add_to_cart", "id"=>"2", "controller"=>"store"} [4;36;1mProduct Columns (0.000000) [0;1mSHOW FIELDS FROM products [4;35;1mProduct Load (0.010000) SELECT * FROM products WHERE ( products.id = 2) Rendering store/add_to_cart Rendered store/_cart_item (0.01000) Rendered store/_cart_item (0.00000) Rendered store/_cart_item (0.01000) Rendered store/_cart (0.02000) Completed in 0.04000 (25 reqs/sec) | Rendering: 0.03000 (75%) | DB: 0.01000(25%) | 200 OK [ http://localhost/store/add_to_cart/2] ROR seems to be working right, it seems to me that IE can''t handle the AJAX post. Does anyone know the answer here? Thanks -- John Houston +++ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060818/d7a32ac0/attachment.html
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Houston wrote:> Having some trouble inserting some AJAX onto IE. I am going through the > Agile Web Development with Rails pdf beta book and have run into a > problem at Task D2 "An Ajax Based Cart" I have successfully made it > this far in working through the Depot application example. However, It > appears that IE dosn''t want to let me add this table to my HTML page. I > even changed the HTML <TABLE> in the partial to <TBODY> ( I googled thatI vaguely remember something about ajax+tables+IE doesn''t work. - -- David Morton Maia Mailguard - http://www.maiamailguard.com Morton Software Design and Consulting - http://www.dgrmm.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE5ll9Uy30ODPkzl0RAqs8AJ9o87yBsq0CZrjrkE84WpSqO6He2QCgpDgn 7FriyLEy8698QUABh6wZwok=Yv3Q -----END PGP SIGNATURE-----
John, I''m going through the same book (:page=>167), which means I''ve passed the section you''re currently on. I''m using IE6.0x, and the AJAX feature is working for me. The display isn''t as smooth as in Firefox, but it definitely works. I''d be happy to check out your code if you can''t get it to work. I''ve been running into issues every now and again, and every time (so far) it''s been a typo on my part. You might want to have a fresh set of eyes check your code. Matt Schultz ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of John Houston Sent: Friday, August 18, 2006 7:12 PM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] RJS error - object error Having some trouble inserting some AJAX onto IE. I am going through the Agile Web Development with Rails pdf beta book and have run into a problem at Task D2 "An Ajax Based Cart" I have successfully made it this far in working through the Depot application example. However, It appears that IE dosn''t want to let me add this table to my HTML page. I even changed the HTML <TABLE> in the partial to <TBODY> ( I googled that up). I am running IE v 6.0 on a XP SP2 pc. Here is the log snippet. Processing StoreController#add_to_cart (for 127.0.0.1 at 2006-08-18 19:07:22) [POST] Session ID: ef23105e9ab011e49188ae2526b80aa8 Parameters: {"commit"=>"Add to Cart", "action"=>"add_to_cart", "id"=>"2", "controller"=>"store"} [4;36;1mProduct Columns (0.000000)[0m [0;1mSHOW FIELDS FROM products[0m [4;35;1mProduct Load (0.010000)[0m [0mSELECT * FROM products WHERE (products.id = 2) [0m Rendering store/add_to_cart Rendered store/_cart_item (0.01000) Rendered store/_cart_item (0.00000) Rendered store/_cart_item (0.01000) Rendered store/_cart (0.02000) Completed in 0.04000 (25 reqs/sec) | Rendering: 0.03000 (75%) | DB: 0.01000 (25%) | 200 OK [http://localhost/store/add_to_cart/2] ROR seems to be working right, it seems to me that IE can''t handle the AJAX post. Does anyone know the answer here? Thanks -- John Houston +++ ___________________________________________________ This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of Agency.com Ltd., its affiliates or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of Agency.com, its affiliates and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to disclaimer at agency.com. We appreciate your cooperation. We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of Agency.com or any of its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060818/b143b918/attachment.html
Matthew, Thanks for the feedback. It was good to know that somebody else made it past this point. So, I went back and started over on the cart piece. This time i didn''t customize my layout so much, and it works now. John On 8/18/06, Matthew Schultz <mschultz at agency.com> wrote:> > John, > > > > I''m going through the same book (:page=>167), which means I''ve passed the > section you''re currently on. I''m using IE6.0x, and the AJAX feature is > working for me. The display isn''t as smooth as in Firefox, but it definitely > works. > > > > I''d be happy to check out your code if you can''t get it to work. I''ve been > running into issues every now and again, and every time (so far) it''s been a > typo on my part. You might want to have a fresh set of eyes check your code. > > > > Matt Schultz > ------------------------------ > > *From:* instantrails-users-bounces at rubyforge.org [mailto: > instantrails-users-bounces at rubyforge.org] *On Behalf Of *John Houston > *Sent:* Friday, August 18, 2006 7:12 PM > *To:* instantrails-users at rubyforge.org > *Subject:* [Instantrails-users] RJS error - object error > > > > Having some trouble inserting some AJAX onto IE. I am going through the > Agile Web Development with Rails pdf beta book and have run into a problem > at Task D2 "An Ajax Based Cart" I have successfully made it this far in > working through the Depot application example. However, It appears that IE > dosn''t want to let me add this table to my HTML page. I even changed the > HTML <TABLE> in the partial to <TBODY> ( I googled that up). I am running > IE v 6.0 on a XP SP2 pc. > > Here is the log snippet. > > > > Processing StoreController#add_to_cart (for 127.0.0.1 at 2006-08-18 > 19:07:22) [POST] > Session ID: ef23105e9ab011e49188ae2526b80aa8 > Parameters: {"commit"=>"Add to Cart", "action"=>"add_to_cart", > "id"=>"2", "controller"=>"store"} > [4;36;1mProduct Columns (0.000000)[0m [0;1mSHOW FIELDS FROM > products[0m > [4;35;1mProduct Load (0.010000)[0m [0mSELECT * FROM products WHERE ( > products.id = 2) [0m > Rendering store/add_to_cart > Rendered store/_cart_item (0.01000) > Rendered store/_cart_item (0.00000) > Rendered store/_cart_item (0.01000) > Rendered store/_cart (0.02000) > Completed in 0.04000 (25 reqs/sec) | Rendering: 0.03000 (75%) | DB: > 0.01000 (25%) | 200 OK [http://localhost/store/add_to_cart/2] > > > > ROR seems to be working right, it seems to me that IE can''t handle the > AJAX post. > > > > Does anyone know the answer here? > > > > Thanks > > > > > -- > John Houston > > +++ > > ___________________________________________________ > This e-mail is intended only for the named person or entity to which > it is addressed and contains valuable business information that is > privileged, confidential and/or otherwise protected from disclosure. > Dissemination, distribution or copying of this e-mail or the > information herein by anyone other than the intended recipient, or > an employee or agent responsible for delivering the message to the > intended recipient, is strictly prohibited. All contents are the > copyright property of Agency.com <http://agency.com/> Ltd., its affiliates or a client of > such agencies. If you are not the intended recipient, you are > nevertheless bound to respect the worldwide legal rights of Agency.com <http://agency.com/>, its affiliates and its clients. We require that > unintended recipients delete the e-mail and destroy all electronic > copies in their system, retaining no copies in any media. If you > have received this e-mail in error, please immediately notify us via > e-mail to disclaimer at agency.com. We appreciate your cooperation. > > We make no warranties as to the accuracy or completeness of this > e-mail and accept no liability for its content or use. Any opinions > expressed in this e-mail are those of the author and do not > necessarily reflect the opinions of Agency.com <http://agency.com/> or any of its > affiliates. > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-- John Houston p.660-232-4568 +++ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060821/b5dbacc2/attachment-0001.html
=) Any time! ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org] On Behalf Of John Houston Sent: Monday, August 21, 2006 12:53 PM To: instantrails-users at rubyforge.org Subject: Re: [Instantrails-users] RJS error - object error Matthew, Thanks for the feedback. It was good to know that somebody else made it past this point. So, I went back and started over on the cart piece. This time i didn''t customize my layout so much, and it works now. John On 8/18/06, Matthew Schultz <mschultz at agency.com> wrote: John, I''m going through the same book (:page=>167), which means I''ve passed the section you''re currently on. I''m using IE6.0x, and the AJAX feature is working for me. The display isn''t as smooth as in Firefox, but it definitely works. I''d be happy to check out your code if you can''t get it to work. I''ve been running into issues every now and again, and every time (so far) it''s been a typo on my part. You might want to have a fresh set of eyes check your code. Matt Schultz ________________________________ From: instantrails-users-bounces at rubyforge.org [mailto:instantrails-users-bounces at rubyforge.org ] On Behalf Of John Houston Sent: Friday, August 18, 2006 7:12 PM To: instantrails-users at rubyforge.org Subject: [Instantrails-users] RJS error - object error Having some trouble inserting some AJAX onto IE. I am going through the Agile Web Development with Rails pdf beta book and have run into a problem at Task D2 "An Ajax Based Cart" I have successfully made it this far in working through the Depot application example. However, It appears that IE dosn''t want to let me add this table to my HTML page. I even changed the HTML <TABLE> in the partial to <TBODY> ( I googled that up). I am running IE v 6.0 on a XP SP2 pc. Here is the log snippet. Processing StoreController#add_to_cart (for 127.0.0.1 <http://127.0.0.1/> at 2006-08-18 19:07:22) [POST] Session ID: ef23105e9ab011e49188ae2526b80aa8 Parameters: {"commit"=>"Add to Cart", "action"=>"add_to_cart", "id"=>"2", "controller"=>"store"} [4;36;1mProduct Columns (0.000000)[0m [0;1mSHOW FIELDS FROM products[0m [4;35;1mProduct Load (0.010000)[0m [0mSELECT * FROM products WHERE ( products.id <http://products.id/> = 2) [0m Rendering store/add_to_cart Rendered store/_cart_item (0.01000) Rendered store/_cart_item (0.00000) Rendered store/_cart_item (0.01000) Rendered store/_cart (0.02000) Completed in 0.04000 (25 reqs/sec) | Rendering: 0.03000 (75%) | DB: 0.01000 (25%) | 200 OK [http://localhost/store/add_to_cart/2 ] ROR seems to be working right, it seems to me that IE can''t handle the AJAX post. Does anyone know the answer here? Thanks -- John Houston +++ ___________________________________________________ This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of Agency.com <http://agency.com/> Ltd., its affiliates or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of Agency.com <http://agency.com/> , its affiliates and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to disclaimer at agency.com. We appreciate your cooperation. We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of Agency.com <http://agency.com/> or any of its affiliates. _______________________________________________ Instantrails-users mailing list Instantrails-users at rubyforge.org http://rubyforge.org/mailman/listinfo/instantrails-users -- John Houston p.660-232-4568 +++ ___________________________________________________ This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is privileged, confidential and/or otherwise protected from disclosure. Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is strictly prohibited. All contents are the copyright property of Agency.com Ltd., its affiliates or a client of such agencies. If you are not the intended recipient, you are nevertheless bound to respect the worldwide legal rights of Agency.com, its affiliates and its clients. We require that unintended recipients delete the e-mail and destroy all electronic copies in their system, retaining no copies in any media. If you have received this e-mail in error, please immediately notify us via e-mail to disclaimer at agency.com. We appreciate your cooperation. We make no warranties as to the accuracy or completeness of this e-mail and accept no liability for its content or use. Any opinions expressed in this e-mail are those of the author and do not necessarily reflect the opinions of Agency.com or any of its affiliates. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060822/6687aef6/attachment-0001.html