Agile web development with rails - Ajax -


Using IR Rail 2.3.3 and web browser Firefox has added AJAX and Javascript and it works a lot But everytime I reload the page, when I press Add to Cart button to show item option in the side bar, then it is not visible without reloading.

Please help me anybody how can this show item additions in the side bar, by reloading the page, press Add to Cart button?

If you have not done so, install Firefox for Firefox, for these reasons:

  • This will tell you that you have a JavaScript error.
  • If your Ajax request is being received, it will show you and its contents.
  • You can see the elements of your page such as the car, whether it will be shown whether the ID is correct, etc. There is a faster way than browsing through the source.
  • More (CSS, etc.) More

If you can not understand it by looking at Firebug C onsole, and since you are following a tutorial, why do not you download the source source code and see it Compare yourself to what you are doing wrong.

If you have a book, the entire source is listed at the end of the book. You can also download from source


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -