0
votes
0answers
7 views
rails 3 does not render jquery properly
i have https://github.com/tkrotoff/jquery-simplecolorpicker-rails and i have tried https://github.com/tkrotoff/jquery-simplecolorpicker in plain HTML and the plain HTML worked.
I had swapped the code ...
0
votes
2answers
22 views
Rails dynamically updated View based on user input
I'm trying to create a view page where the user enters the names of Item objects in a text field, or jquery token field (http://loopj.com/jquery-tokeninput/)
Each Item has a cost attribute, and I ...
-1
votes
1answer
22 views
How to access HTML5 localstorage in Rails View Contoller
i have saved some keys in html5 localstorage using JavaScript running on my Views..
<script>
function setKeys()
{
localstorage.setItem("key","some_value")
}
</script>
Now i want to ...
0
votes
1answer
20 views
Rails 3 correct image_tag conversion
I'm trying to convert parallax effect code to run on a Rails 3 app. I can't get it to run so I'm wondering if I've converted this code properly. The first line in each group is the original code. The ...
0
votes
0answers
9 views
Websockets data not being interpreted properly on client
I'm trying to use a websocket server to send audio data from one client to another. I'm able to send the data just fine, however once it gets to the "destination" browser I get an error that says
...
2
votes
1answer
37 views
Cannot receive Rails response with Ajax
When I post from phonegap (with ajax, in javascript) something to my rails server, the post succeeds, but I have no response from my server, so finally it fails. I don't understand why I cannot get ...
0
votes
1answer
16 views
execute jquery command unless user clicks on a div
I have a user search bar that creates a div containing the relevant users and it disappears when you focus out. However I don't want to focus out if I click on the user list div. Is this possible to ...
2
votes
0answers
19 views
Rails client side validations — disable submit until validations pass
Title is self-explanatory. I am using client side validation in rails and it works wonderfully. However, I don't want the submit button on my form to be enabled until all the validations pass.
Any ...
0
votes
0answers
32 views
Graphing data from SQLite to Highcharts
How do I graph data from a sqlite database to highcharts on rails?
I have studied the HighCharts Railscast #223 but I am unsure as to how to manipulate that for my own application.
This is what my ...
2
votes
1answer
17 views
Rails, javascript not loading after clicking through link_to helper
I'm having some trouble loading my javascript when I use a link_to helper in rails. When I either manually enter the url with 'localhost:3000/products/new' or reload the page, the javascript loads, ...
0
votes
1answer
16 views
Rails javascript becomes one line [duplicate]
Javascript and coffeescript files in my Rails app are rendered with proper spacing and indentation on my local server. However, once deployed to a remote server, they render as a single line with ...
0
votes
1answer
38 views
What is the best way to rewrite a given code into a function in JavaScript?
I need to automatically rewrite a link that triggers a function (written on the fly) and convert it into unobtrusive JavaScript code.
Example:
link_to_function 'hey', "alert('hey')"
becomes:
...
0
votes
0answers
35 views
Datatable doesn't not work with serve-side processing
I am new in datatable and I am would like to insert a datatable with serve-side processing and some other features.
I followed this tutorial in order to insert my datatable in my app and it worked.
...
0
votes
0answers
9 views
Graphing javascript library morris.js issue?
I am using Morris.js library in my rails app. The content in the data: section below is dynamically generated and plotted using an instance variable. I have followed the default conventions of using ...
0
votes
1answer
20 views
Jquery slideToggle particular div
Respected ppl ...
This is my markup :
<div class="row-fluid">
<div class="span12 card card-even">
<div>
<h3>Case 1</h3>
<a href="" ...