Hello There, Basically I want to print table from javascript. I have a multidimenational array global_arrayLength is lenght of that array In form I have defined an table with below code <div class='box1' id='show_this' name='show_this'> <div id='information-table'><table id='myTable'><tr bgcolor=#ff9966 id='0'> <td>Skill</td> <td>Skill Type</td> <td>Total Experience Year</td> <td>Total Experience months</td> <td>Last Used In</td> <td>Description</td> <td>Modify</td> </tr></div></table> </div> and in that table i want to push my array values from javascript as below: for (var index=0;index < global_arrayLength;index++) { $("#myTable tr:last").after('<tr>'); for(inner_index=skill_array[index].length-1;inner_index >=0;inner_index--) { $("#myTable tr:last").after('<td>'+skill_array[index][inner_index]+'</td>'); }$("#myTable td:last").after('<td><a onClick=edit_skill('+tr_id+');>'+EDIT+'</td>'); $("#myTable td:last").after('</tr>'); } Here everything goes fine but the <tr> :( in firebug …

Member Avatar
Member Avatar
+0 forum 2

#include<iostream> using namespace std; float input() { float inches; float feet; cin>>inches; cin>>feet; }; float calculate(float inches, float feet) { float cm; float meters; cm=2.54*inches; meters=feet*.3048; }; float output(float meters,float cm) { cout<<"The feet to meters="<<meters<<endl; cout<<"The inches to cm="<<cm<<endl; }; void main() { float input(); float calulate(); float output(); }; I need help this wont work Write a program that will read in a length in feet and inches and will output the equivalent length in meters and centimeters. Use at least three functions : one for input, one or more for calculating and one for output. There are …

Member Avatar
Member Avatar
+0 forum 3

The End.