Questions tagged as 'jquery'

1
answer

Why does the minus sign (remove) button not work when I click it?

I have a text field with an add button next to it. The more I click the button it adds another text field with a remove button next to it. The idea is that when I click the successive remove buttons, it removes the text fields; but no matter wha...
asked by 24.03.2017 / 19:03
1
answer

Interaction between pages

I have a question and would like some tips to update a page through another page. Example: On page "A" I have a list of products and a link to page "B"; The "B" page will open in a new tab and have a form to include new products. I woul...
asked by 31.03.2017 / 09:35
3
answers

upload content after an element

I'm trying to make a function to load a content with .load() of jQuery , .load() receives a parameter param that would be the address of the file. And I would like this html to be loaded after a specific element...
asked by 21.02.2017 / 03:45
2
answers

Return from json_encode takes the order of asort ()

The asort() method is used to sort arrays, without losing the index. I do the sorting, both in the SQL search and in the array. However, when sending the data via JSON (using json_encode ), it reorders the keys. Array example, so...
asked by 15.02.2017 / 18:59
2
answers

Get position of element based on another

You have two 3 divs: <div style="margin-top: 30px;width:50px;height:50px;"></div> <div class="boxPrincipal"> <div class="elementoSecundario" style="width:100px;height:80px;margin-top:10px;margin-left: 20px;">...
asked by 18.02.2017 / 22:53
1
answer

Change order of objects in the array by dragging rows from angular table JS

I have a table and using jquery ( sortable ), I would like that when I drag the line by modifying the html of the table, the array Example:    CAMPO1       CAMPO2 /// DRAG THAT DOWN       CAMPO3...
asked by 25.01.2017 / 00:08
1
answer

Opening a full size Table

Well I have the following doubt. I have this table in my project. Theusercomplainsaboutthesizebecausethescrollbarsappear,asthepagealreadyhasalotofinformationyoucannotincreaseit(andIwouldusethiscodeinotherscreensaswell).I'dliketheusertoclickonab...
asked by 07.02.2017 / 13:15
1
answer

Create links to events created in fullcalendar and open in a modal Bootstrap

Colleagues. I am using FullCalendar in an application and the events I was able to register using PHP / Mysql. However, I would like to create links in these events that appear in the calendar and that when clicking these links were directed...
asked by 26.01.2017 / 17:14
1
answer

Insert indented text in TextArea with CodeMirror

I'm doing a HTML editor in the browser, where the user can write his script to the database, I recorded all the lines of user code in a single string and recorded it in the DB, but how do I bring it back as user created? Currently it l...
asked by 09.01.2017 / 22:47
1
answer

Get some elements of a JSON variable

I have a JavaScript variable that holds a JSON, similar to this: { "estado": [ { "nome": "Foo LTDA", "endereco": "Endereço de SP", "cep": "12345-000", "telefone": "(1...
asked by 10.01.2017 / 18:27