Search Results for "jquer"
Lessons
Forum Threads
jQuery.ajax url: rails
In my code I have this button
```
Pay
```
In my code I have this button
Pay
Expand snippet
when clicked on iframe opens from this javascript code
```
<%= javascript_tag do %>
$("#c...
JP
posted
1
Rails
jquery_ujs and rails-ujs problem ajax page
hello everyone.
i am new in rails and ruby , i just started like 1 week ago .
i trying to do a chat between 2 people on rails, with jquery for the ajax part.
everything work, but i got this err...
pikooli
replied
•
Solved
2
Rails
jquery doesn't work in js.erb file
Hello! I'm trying to also get jQuery to work in a `create.js.erb` file. Would I still need to add the code snippet you provided above if I have this in my `environment.js`:
```javascript
const { e...
Steven Torrence
replied
•
Solved
3
Rails
jQuery UJS Callbacks Discussion
Hi Chris,
I was going through your source code, and I notice you required jquery in your application.js file even for app using rails 5.1.4. Could you explain the reason?
In your other screen ca...
Ian Quek
replied
15
General
jQuery UJS and AJAX Discussion
I have a radio buttons group and before everything happens I need to validate if any option is checked, If so the request go on and Publish the book but if there's no option checked I need to send ...
Alejandro Ventura
replied
28
General
Jquery destroy seems to fire twice.
I think the issue is that you're destroying `@line_item` but in your `redirect_to` you're using `@line_item.cart_id` , that doesn't seem right.
Try to store the URL / id / cart you want to redirec...
Ohad Dahan
replied
2
Rails
jQuery and Turbolinks not playing nicely
Ok, so I'll try to make this brief.
I have a new Rails 4.2.1 app using Ruby 2.2.2 and I'm trying to do a live search on a basic crud model. I have ransack installed and it's working great. But I...
shakycode
posted
1
General
Rails 5- jQuery works in local production(rails s -e production) but not on Heroku
Hey Bigyan,
Check out this article on Heroku with the Rails asset pipeline: https://devcenter.heroku.com/articles/rails-4-asset-pipeline
The assets are designed to compile on the fly in developme...
Chris Oliver
replied
2
General
Refactoring Your jQuery Code with Objects in Coffeescript Discussion
This video was great. I built a nice functionality based on this lesson and you can check the source code on github. Everything is explained in this stackoverflow post https://stackoverfl...
Fabrizio Bertoglio
replied
19
General
Migrating From jQuery to Vanilla Javascript Discussion
@Chris, I know this episode is a little old, but this is still something I'm dealing with today.
I understand the rationale behind the move to get rid of jQuery in web apps: jQuery was from a time...
Dan LeGrand
replied
48
General
How to use jQuery & jQueryUI with Esbuild Discussion
This worked for me with select2 :
import select2 from "select2"
window.select2 = select2();
Alex
replied
15
General
Rails 6 and jQuery ui
Hi at all,
I'm Davide and I started to learn Rails since about one week.
I'm tryng to add Jquery ui selectable functionality to my project but I cannot load jquery-ui in webpack.
Can you help me pl...
Davide
posted
1
General