Posts by thiaguera94 • 65 points
4 posts
-
0
votes1
answer91
viewsQ: Pass array by Ajax and receive in PHP script
I need to pass a Array for Ajax to read it in a script PHP. Javascript code: $.ajax({ type: "POST", url: "vendas_funcoes.php", data: arrayItens, success: function(msg){ console.log("ok"); } }); I’ve…
-
2
votes1
answer1045
viewsQ: Save data from an html table in PHP array
I have an html generated table and the data of each row needs to be saved to a table in the database. Each row represents an item of a shopping cart. The structure is this: <table class="table…
phpasked thiaguera94 65 -
1
votes3
answers371
viewsQ: Create widget with "onclick()"
I need to create an element with Javascript that, when clicked, call a function. Is there any event I can add to my code for that ? It would be equal to onclick() that we put inside an html tag.…
javascriptasked thiaguera94 65 -
2
votes1
answer1815
viewsQ: Passing data to a Bootstrap modal window
I’m not able to pass the data from a table I have on a page . php to a modal window that shows this data, which would be for editing. The only thing I can pass is the id, which in turn can be used…