var
i;
for
(i=1;i<5;i++)
{
form1.Page2.ListBox1.addItem(form1.Page1.Table1.Row[i].row[i].rawValue);} I want to get values from
Row1.row1
Row2.row2
Row3.row3
but I dont know how to use for loop in javascript can you give some clue
thanks for helping
if you recommend any resource I wıll definitely appericate that
Views
Replies
Total Likes
The first row is always [0] so you might try setting i to 0 rather than 1.
Views
Replies
Total Likes
thank you for replying
but that s not the reason that didnt work. in nutshell I just need (for loop) to use in this stituation any example of for loop
Views
Replies
Total Likes
If you just want some samples of javascript coding, you might appreciate this link:
http://www.w3schools.com/js/js_loop_for.asp
This goes straight to the for loop example, but there's a whole library of js samples on this site. Is this what you're looking for?
Views
Replies
Total Likes
thank you my friend . It s good but not enough I need much more information specially something on how to select table's cells or
how to use table's cell also how to add table's cell to listbox (I mean row by row) thank you for interest in
thanks a lot
Views
Replies
Total Likes
Try this to make it work..
var i;
for(i=1;i<5;i++){
form1.Page2.ListBox1.addItem(form1.Page1.Table1.resolveNode("Row[" + i + "]").resolveNode("row[" + i + "]").rawValue);
}
Thanks
Srini
Views
Replies
Total Likes