+ Start a Discussion

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,


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

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


Please provide some inputs



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++)
        inputElem[i].checked = cb.checked;