Displaying 6 results from an estimated 6 matches for "javacript".
Did you mean:
javascript
2006 Jul 24
4
how to get your controller to close a browser popup window
While editing a record I need to have a link to create a new record in
another scaffold.
I''ve done this by using a popup window
<%= link_to("Add new Person", "/person/new", :popup => [''window_name'',
''width=600,height=600'']) %>
It all works great - but when the save is done I want to kill the popup
window.
2009 Jul 05
2
JSON data not decoded in Rails
Hello all,
I''m trying to send some json data from the browser to the server using
prototype without success. On the server side ActiveSupport::JSON.decode
isn''t decoding the data.
Here is the code:
Javacript:
<a href="#" onclick=''send();return false;''>click</a>
<script>
function send() {
var send_data_url = "/pages/change";
var json_parameters = $H({name: ''Violet'', occupation: ''character'', age:
25 }).toJSON();...
2006 May 24
5
best way to return JSON?
I''m using Ajax.Updater to update a select element, and have just discovered
that IE doesn''t like having its innerHTML set. I figure instead of a bunch
of option tags I can return JSON and parse it to add the options, but I''m
not quite sure of the best way to do this.... or any way to do it really :)
Could someone point this out to me? Or am I using a totally antiquated
2006 Aug 16
2
File download logging
Is there any way of determining whether a file has been successfully
downloaded by a user or to put it another way, whether a dowload was
interrupted?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
24
Why Ruby on Rails
Our company is mainly made up off application developers but we have a
lot of web work coming up so we are deciding which route to take at the
moment. We initially identfied ASP.NET 2.0 with the ATLAS AJAX
framework because of the RAD features, easy to learn etc.
I had read some stuff on ROR and our Boss who is open minded allowed me
to create a sample application with ROR. He was impressed
2006 Mar 28
74
Is this an elaborate hoax/troll?
I sure hope so:
http://duckdown.blogspot.com/2006/03/additional-thoughts-on-why-ruby-isnt.html
Seems like it''s getting genuine rebuttals, though. It''s actually kind
of amusing.