function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandip458Sandip458 

Get the row value of dyanamically generated table in javascript

Hello All,

 

I am displaying the values list of object  using pageblock table.I have checkbox  for eachrow in generated table now i want get the value of row whose checkbox is selected in javascript when user submits the form.

 

Please help me..

 

 

 

 

Thanks In Advance,

Sandip



Message Edited by Sandip458 on 04-07-2009 05:48 AM
Sandip458Sandip458

Still I am not able to find out the solution ...

 

Please provide some inputs

NaishadhNaishadh

 

For selecting all data you can use following javascript

 

 

checkedone is the id of checkbox

function checkAll(cb)
{
    var inputElem = document.getElementsByTagName("input");
    for(var i=0; i<inputElem.length; i++)
    {
        if(inputElem[i].id.indexOf("checkedone")!=-1)
        inputElem[i].checked = cb.checked;
    }
}