i have created a web page localhost:3000/subjects in rails and a button is there.....if i click the button then only the content inside the html changes....the whole page will not refresh...like if sample button is there in the same page and when i clicked it it list of the subjects but i am in same localhost:3000/subjects and i am using jquery function to do this....can this be possible???if yes then how will i do...if not then xplain why not??? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hi Please format your question properly. On Fri, Jun 1, 2012 at 4:20 PM, rocky <asharma182-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i have created a web page localhost:3000/subjects in rails and a > button is there.....if i click the button then only the content inside > the html changes....the whole page will not refresh...like if sample > button is there in the same page and when i clicked it it list of the > subjects but i am in same localhost:3000/subjects and i am using > jquery function to do this....can this be possible???if yes then how > will i do...if not then xplain why not??? > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- - Aziz M. Bookwala Website <http://azizmb.in/> | Twitter <https://twitter.com/azizbookwala> | Github <http://github.com/azizmb> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 1 June 2012 11:50, rocky <asharma182-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> i have created a web page localhost:3000/subjects in rails and a > button is there.....if i click the button then only the content inside > the html changes....the whole page will not refresh...like if sample > button is there in the same page and when i clicked it it list of the > subjects but i am in same localhost:3000/subjects and i am using > jquery function to do this....can this be possible???if yes then how > will i do...if not then xplain why not???Look in development.log to see what it says is happening when you click the button. Also see the Rails Guide on debugging for techniques that can be used to debug your code. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Can you post the code you are using? On Jun 1, 7:17 am, "azizmb.in" <m...-A6nj5JbtpbX/PtFMR13I2A@public.gmane.org> wrote:> Hi > > Please format your question properly. > > > > > > > > > > On Fri, Jun 1, 2012 at 4:20 PM, rocky <asharma...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > i have created a web page localhost:3000/subjects in rails and a > > button is there.....if i click the button then only the content inside > > the html changes....the whole page will not refresh...like if sample > > button is there in the same page and when i clicked it it list of the > > subjects but i am in same localhost:3000/subjects and i am using > > jquery function to do this....can this be possible???if yes then how > > will i do...if not then xplain why not??? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Ruby on Rails: Talk" group. > > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > > For more options, visit this group at > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- > - Aziz M. Bookwala > > Website <http://azizmb.in/> | Twitter <https://twitter.com/azizbookwala> | > Github <http://github.com/azizmb>-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
simply i want to use jquery in my rails apps so that the whole page will not refresh only the content part inside my page get changes...what is the solution for this and where i will have to use this...and any sample code for this??? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/seyOzcAn6sQJ. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 3 June 2012 05:29, rocky <asharma182-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> simply i want to use jquery in my rails apps so that the whole page will not > refresh only the content part inside my page get changes...what is the > solution for this and where i will have to use this...and any sample code > for this???This shows the reason that one should ask a question clearly, using complete sentences. Your initial post with a number of random phrases interspersed with dots gave the exact opposite impression, that your code currently refreshed only part of the page and that was what you were trying to avoid. Google for rails 3 ajax jquery and you will get multiple hits that should get you going. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.