similar to: Wrapping a table row in <div> tags

Displaying 20 results from an estimated 30000 matches similar to: "Wrapping a table row in <div> tags"

2007 Dec 09
5
capturing arrow keypress on IE7 with Prototype 1.6 doesn't work?
Hi! does anyone know a fix for this? in FF and Opera everything is fine, but in IE7 arrow keys are ignored. thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2007 Dec 21
5
dom movement methods, unattached objects
Hey guys I have a bunch of element fragments (ie this might be a div, with children of an image, another div) etc which aren''t attached to the document yet.. and can''t seem to call the dom manipulation methods on them: down(''img.icon'') returns undefined but if I look at the innerHTML of the element, there is clearly an image there with that class. Is this is
2008 Mar 25
4
Prototype: toggle() not supported on TD in IE?
The following line causes trouble both with IE 6&7: cels[i].toggle(); It tells me that this element does not support the property or method. The element is a cell (TD) which I checked by outputting the tagName and it works with FF, Opera and Safari. The IE script debugger stops at this line but I didn''t find a single posting on the net with a similar problem which is kind of strange.
2008 Jan 28
6
cancelling form submit
Anyone know why my form would still submit in firefox but not in IE? aspnetForm is the id of the form. I get the alert, but the form still submits. Event.observe(''aspnetForm'',''submit'',function(e){ alert(''submit''); var t = $F(''ctl00_ContentPlaceHolder1_NewTag'');
2006 Jul 10
17
Effect.SlideDown/Up() and HTML issues
Hello, I''m hoping this is the right place to ask these kind of questions. If not, please excuse me. Anyway, the problem I''m having is that I have a HTML table showing some tabular data and I want to use Effect.SlideDown/Up to allow the user to interactively show "details" for each item (<tr><td> etc) in that list. I''ll do some pseudo-code for
2007 Aug 27
4
Sortable + Table = Ouch!
I have an HTML table I am trying to "retro-fit" with a sortable such that a cell in one column/row and be moved to another. What I have tried in tyerms of formatting looks akin to: <div id="schedule"> <table> <tr> <td><div id="one">Some Text</div></td> <td><div
2006 Feb 13
3
Insertion.top & tables
I have had trouble making Insertion.top work with tables I would like to do something like <table> <div = "newentry"> <tr><td> First entry</td></tr> <tr><td> Second entry</td></tr> </div> </table> so that Insertion.top inserts the new row above the first entry. So far this has not worked. Has anyone else tried
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>
2006 Feb 18
1
spinner not working inside a table with IE 6
Hello, I''m trying to use the slider inside a table and am having problems. I''m wondering if anybody can help or, if it just isn''t possible for some reason. The following 2 samples contain same code (1 inside <div></div> and 1 inside <table><tr><td></td></tr></table>). The div one works fine but the table one
2006 Apr 10
4
Element.getDimensions() support for IE?
Hey all, I''m not sure if IE can support this, but I''m trying to get the dimensions of an element that has percentages for height/width. In the example code below, I''m trying to get the dimensions for the ''MyCell'' element. Firefox supports Element.getDimensions(''MyCell''), but IE returns 0 for the height & width returned by that
2006 Mar 01
2
RE: manipulate <td>''s and their content bygrabbingtheir classNames
> Or... > > var myTDs = new Array(); > $A($("main").childNodes).each(function(tr) > { > $A(tr.childNodes).each(function(td) > { > myTDs.push(td); > }); > }); You''ll probably want to make sure the tr elements are TR tags and the same for the td''s, as empty text nodes are inserted randomly by the gecko engine (and maybe others). Greg
2008 May 19
6
obtaining table cell text data
I''m writing some code to subset a table based on the contents of particular columns. My event handler starts off like this: subsetChange: function(e) { var subset = $F(''subsetSelector''); var rows = $$(''.content-row''); rows.each(function(row) { var value = row.down(''.Platform_Category'').childNodes[0].data;
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 Mar 01
1
manipulate <td>''s and their content by grabbing their classNames
Hi Guys, What''s the best way to grab all <td>''s in a particular table and manipulate them? Here''s the problem definition - I have a table that has ''n'' <tr>''s. Each <tr> has couple of <td>''s and the first <td> has an image. By default, each <td> has a ''x'' class and image src
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
2008 Apr 29
1
Making new Ajax.Updater within a previous Ajax.Updater call
I have a button which calls a form via Ajax.Updater: <a href="javascript:void()" onclick="createMessage()">Create Message</ a> <script> function createMessage() { new Ajax.Updater( ''content'', ''message.php'', { method: ''post'' } ); } </script> This is the message.php file: <html> <head>
2007 Jun 05
2
.activate() behaviour
Hi all, I''m trying to understand why the following code doesnt work... ---------------------------------------------------------------------------------------- <html> <head> <title>blabla</title> <script type="text/javascript" src="prototype.js"></script> </head> <body> <form action="bllalba">
2008 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 - isn''t return result <form action="test.php" method="POST"> <div id="country" style="border: 1px solid #ccc; width: auto"></div> <br/> <a href="javascript:getTest()">test</a> </form> <script
2006 Feb 18
1
slider not working in a table for IE 6
Hello, I''m trying to use the slider inside a table and am having problems. I''m wondering if anybody can help or, if it just isn''t possible for some reason. The following 2 entries are the exact same code (1 inside <div></div> and 1 inside <table><tr><td></td></tr></table>). The div one works fine but the table one
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