Questions tagged as 'javascript'

3
answers

By what means can you remove dynamic cell inserted in the HTML table

Script var opt = document; function inserirLinha(id) { var newRow = opt.createElement('tr'); newRow.insertCell(0).innerHTML = '<input type="button" value="X" onclick="removeLinha(this)" />...
asked by 03.06.2018 / 16:05
1
answer

Execute jQuery function in dynamically generated table after an AJAX

I need to execute the function below, after the AJAX request it has to remove the table row, if I put the code that removes the direct line in the function it removes the line normally, but if I put inside the AJAX success it does not remove the...
asked by 22.10.2014 / 15:55
2
answers

How to add and search BD products with JSON in HTML dynamic fields?

I can not get search results values from JSON and database after adding new dynamic product line with JavaScript. HTML form, product is search by code: <form id="adicionarformProdutos" method"post" action"" enctype="multipart/form-data"&...
asked by 10.10.2014 / 03:11
1
answer

How to use Javascript to manipulate data from the database? [closed]

I'm now starting to deal with web development in PHP. We know that to have an efficient and dynamic system, it is advisable to use JavaScript, such as, JQuery, AngularJS, Backbone.js and others. But from what I know of Javascipt, it does not hav...
asked by 20.11.2015 / 12:16
1
answer

TiledMap Scrolling

I'm trying to build a camera system for a game that I plan to do in pure javascript, but I can not produce the effect correctly. If anyone can see and fix it or guide me to read some tutorial I would appreciate it very much! Images used:...
asked by 24.11.2015 / 03:52
2
answers

Consume API (JSON) in form fields, how to do it? [closed]

Hello, fellow programmers. I would like some help. I have to use in a project the API that includes the Fipe Table data in JSON format ( link ). I want my form to have four fields, which are: Brand, Model, Year, and Value. When I select...
asked by 25.11.2015 / 11:28
2
answers

how to make an event using the enter key?

I would like to know how I can make a system type onclick or click for jQuery. When the user presses the enter key on a form it automatically clicks the button and sends the form with click . I know how to do but...
asked by 23.09.2015 / 20:09
3
answers

Deselect all checkboxes when returning to the previous page

I'm developing a software and noticed a flaw: when the user returns to the previous page, the checkboxes are still marked. How do I uncheck all of them?     
asked by 22.12.2017 / 20:33
2
answers

What is cache = false in ajax?

What exactly does Ajax code do when I write: cache: false, in an ajax request?     
asked by 09.01.2018 / 13:10
2
answers

Keywords in pages

How can I insert keywords and even the title of my page in these "Pages that do not exist". For example, I made a pagination and my url changes as I change the value of url/conteúdo , the title and other keywords continue with the...
asked by 10.01.2018 / 12:23