PDA

View Full Version : Grabbing contents of <input> tag inside a table



kc64
14 Jul 2011, 11:17 AM
I'm using Ext Core and attempting to grab the contents of an <input type="text" /> tag that is contained in the last column of every row of a table. The server delivers the table to the user with the inputs empty. The user then enters values into the field and clicks an element that triggers the script. The script traverses the DOM but returns the original source that the server sent to the browser. Is there a way of getting what the user has entered?

The idea is to allow the user to input an index on a subset of the records shown in the table and then generate a sorted list based on the indices entered.

kc64
15 Jul 2011, 12:48 PM
This post is stale. I have decided to try to solve the problem with ExtJS.