Re: [Rails] div hidden but still showing up in source

2018-01-19 Thread Rolandas Barysas
Because .hide() does not remove element, but hides it. Use .remove() if you want to remove element from the DOM tree. On Sat, Jan 20, 2018, at 05:34, fugee ohu wrote: > I hid a div in a form using jquery hide element, it's no longer > visible on the page view, but it still shows up in source

[Rails] div hidden but still showing up in source

2018-01-19 Thread fugee ohu
I hid a div in a form using jquery hide element, it's no longer visible on the page view, but it still shows up in source Why? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from