similar to: [OT] Ajax design question - breaking a table with text...

Displaying 20 results from an estimated 10000 matches similar to: "[OT] Ajax design question - breaking a table with text..."

2006 Mar 01
9
ajax doesn''t show at the right place
Hi, I use link_to_remote to create a link to trigger an ajax, things work fine, a new rhtml is created, however, the newly created rhtml doesn''t replace my old zone, it shows instead on top of my old zone...Does someone know why??? my code is like <table> <tr><td colspan="2"><a href="#" onclick="new Ajax.Updater(''zone1'',
2006 Mar 09
1
Rails File Upload w/ Ajax Update?
I''m trying to upload a file, display the upload progress and then update a table with the newly uploaded file. Is there a way to specify a :success handler for form_tag_with_upload_progress such that I have access to the request.response data (in the way I can with link_to_remote)? The :finish JavaScript is being executed but because there is no request object, the table
2006 Mar 08
4
ajax with tables
There may be an easy solution, but I just can''t seem to get this to work... I''m using tables for part of my site, as they contain a lot of rows and columns full of financial data, so just working with div''s and dd''s... etc, won''t do. My table structure is pretty simple, as follows: ================= <table id="items"> <tr>
2014 Apr 18
2
On of mirrors doesn't work properly
Hello! curl 'http://64.235.47.134/?release=6&arch=x86_64&repo=os' <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <html> <head> <title>Index of /</title> </head> <body> <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> <title>CentOS
2006 Jul 18
6
RJS - Insert at top of table?
Quick question regarding RJS and inserting to the top of a table. Here''s the view I''m working with: <table id="links-list"> <tr> <th>Display title</th> <th>URL</th> <th>Description</th> <th>Category</th> </tr> <% for link in @links %> <tr id="link-<%= h link.id
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out. found this great tutorial at http://dev.nozav.org/rails_ajax_table.html. got it working except for one thing. I can''t seem to make the pagination work. The link_to_remote defined in the helper is pointing to the wrong url. I have set up things like so: defined a search method in de project_controller located in apps/admin/project.
2006 Feb 02
1
What''s the javascript to submit an AJAX Form?
HI Everyone, How do I form the href on an anchor so I can create a link-style submit for an ajax form? In this snippet, the INPUT generated by #submit_tag works OK, but the anchor results in the AJAX replacing the whole page? Can I make the anchor/href submit the AJAX form as well? Thank you! I have this (list.rhtml): <%= form_remote_tag :url =>
2006 Aug 14
4
Updating a table with Ajax
I''ve been banging my head against the wall trying to update a table (add/delete rows) using Ajax. It seems simple enough but just doesn''t work for me. I can get it to work using DIVs instead of a table, but doing the layout with DIVs is much more cumbersome and I know it works for others with a table (though I haven''t been able to find an exact example code anywhere).
2006 Jun 04
3
Ajax table does not update
I have two models: Child and Day. A Child has many days, and a day belongs to a child. I want to create ana ajax table listing the children and, after pressing a button, I want to show the days that belong to that child. Here is my code: (list.rhtml) <table> <tr> ... <td><%= link_to ''Days'', :action => ''show_days'', :id =>
2006 Jul 14
3
Rails newbie: How does the submit_tag work?
I would appreciate any and all input. The Agile book is not useful in this context. :o( As near as I can tell, it doesn''t work at all. I would expect that clicking on the [Next Question] button in the browser would fire the next_question method in the current controller. Instead, it (apparently) does nothing. The tag in question <%= submit_tag ''Next
2006 Aug 02
9
RJS not cross browser compatible?
I have an RJS template that does the following page.insert_html :bottom, "some_id", ''<tr id="some_id"><td></td></tr>'' This works just find in safari and firefox. In IE and Opera it doesn''t work so great. Any ideas? Am I doing something wrong here? -- Posted via http://www.ruby-forum.com/.
2006 Jan 16
8
AJAX + Table.
Hello all. I am trying ot load table rows using AJAX based on a search. The following code results in: 1. Firefox renders correctly (Multiple rows inserted into page). 2. Opera renders the entire returned string in one <td> by the looks of it (Bunched up under first header, the <> tags arne''t visible) 3. IE6 does nothing....great ;) This is driving me nuts so any help
2008 Jan 22
3
dynamic table/adding rows in IE using 'new Element("tr")'
I''m trying to create a few menus using prototype.js "insert" function. I create a table using ''new Element("table")'', insert it in DIV and then add links - one row per link (or the other way round - create a full table, then insert it). I initially wrote a code that worked fine in Firefox, but did not in IE (currently testing with 6.0): function
2009 Feb 22
8
dynamically changing a form from POST/CREATE to PUT/UPDATE
For the life of me I can''t figure this one out, although I can''t find anyone else who''s attempted to do this, and probably with good reason. Context: blog using AJAX What I''m trying to do: when the user initially saves a blog entry, or when auto-saving, I want subsequent saves to not create a new blog entry Why I can''t just reload the partial: -
2006 Apr 03
3
Ready to call this a bug
I''ve been trying to get a handle on AJAX today and am ready to call "BUG!" I started with the code from Curt''s "AJAX on Rails". It used <ul="my_list"> and <li> and worked fine. Except I need a table instead of a list. So I did the simplest thing that I thought could possibly work. In the view, I changed the :position attribute from
2005 Aug 04
12
Sortable table
Hi guys, I have a question that I haven''t been able to find an answer to yet. I''m hoping I can find an answer here. I would like to be able to allow a user to visibly sort the order of rows of a table. I have a table that is used to display tabular data. It allows users to dynamically add rows of tabular data to an existing table. I would like to enable the user to be
2006 Apr 05
1
Firefox - Form within a table issue
Hi, Has anyone seen this issue before? Oversimplified Problem: I have a table within which I have a form - <body> <table> <tbody id=''table_body''> <form id=''table_form''> <tr> <td><input type=text name=name value=mandy> <br /> <input type=text name=age value=26> <br
2006 Feb 21
1
Appending new tr into a table
Hi, While working on a project, I ran into the problem of appending <tr>''s to a table in IE 6. I am using new Insertion.Bottom(element, content); for this. This works fine in Firefox but in IE 6, I don''t get an error but nothing appears in the table. I know that IE treats innerHTML of a table as read only, but going through the following post, I assume there is some fix
2006 Feb 02
3
dynamic addition of table rows
Hi, I have a table laid out something like this: <table> <thead> <tr> <th>col 1</th> <th>col 2</th> </tr> </thead> <tbody id="tablebody"> <tr> <td>moo</td> <td>moo</td> </tr> <tr> <td>moo</td> <td>moo</td> </tr>
2020 Oct 09
1
Feature request.
On 09/10/2020 12:52, lists wrote: > I have to say I'm totally baffled since I do nothing when LetsEncrypt renews the certificate. > > I know the cert has been updated because the mail clients asks me if I trust the certificate. Curious. The mail clients really shouldn't ask anything when encountering a valid certificate. Are you sure the client isn't asking you to trust an