I'm new to rails and I'm having difficulty with RENDER
I have a "_tables-client" rendering inside the page and when I order to execute a method, I want to update only the specific render and not the entire page,
I'm new to rails and I'm having difficulty with RENDER
I have a "_tables-client" rendering inside the page and when I order to execute a method, I want to update only the specific render and not the entire page,
You can use the AJAX .load()
method, selecting only what you want to update and searching for updated data in your controller via the URL, and you can also pass parameters.
$(selector).load(URL,data,callback);