html - Create buttons dynamically in a div from a javascript function -
i have function returns data sql...
i need create buttons in div called
divresult
here function
function retrievedata(transaction, results) { for(var = 0; < results.rows.length; i++) { var data = results.rows.item(i)['nome']; alert(data); } }
there answer on how create html elements using javascript here: creating dynamic button click event in javascript.
...i add simple comment don't have enough street cred yet.
Comments
Post a Comment