How to dynamically load the data from customers to a table in javascript within html -
I have to load the data name, customer ID, hire customers in a table, but I'm not sure what I Use code to insert it into rows in the table Really appreciate your help here is the code
& lt; Html & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Script & gt; Script & gt; Vera Customer = [{Name: "Bill Seister", Customer ID: "122", Rental Cast: "$ 550",}, {Name: "Sarah Hill", Customer ID: "160", Rental Cart: "$ 600",}]; & Lt; / Script & gt; & Lt; Body & gt; & Lt; Table & gt; & Lt; TR & gt; & Lt; TD & gt; Name & lt; / TD & gt; & Lt; Td> Customer ID & lt; / Td> & Lt; TD & gt; Rent & lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; / Body & gt; & Lt; / Html & gt;
I will do this with Jquery:
(Var i = 0; i & lt; customers.length; i ++) $ ("table") for Attachments (...) ... Check Bela:
Comments
Post a Comment