Questions tagged as 'jquery'

1
answer

datePicker with concatenated name

I need to call the datePicker function by concatenating a fixed name with the name I get from a query. It's possible? I tried this way: $("validade_T'.$v_id'").datepicker({ Where validade_T is the fixed value and $v_id...
asked by 16.04.2018 / 16:02
1
answer

Counter from a value

Hello, I'm creating a timer, to make a music progress bar. I am using the following code. However, this counter starts counting at 00:00 as obviously, but I'd like it to start counting from a value I stipulate, for example: 02:35. What change...
asked by 13.04.2018 / 21:46
1
answer

Return value with XMLHttpRequest

dataPacket: function(type){ aTurn.packet = new XMLHttpRequest(); aTurn.packet.open('GET', 'teste.php', true); aTurn.packet.send(); aTurn.packet.onreadystatechange = function(){ if(aTurn.packet.rea...
asked by 14.04.2018 / 00:44
1
answer

Retrieve captured id with JS in modal

I have a button that calls a modal to confirm deletion, this is in a table, each line a button to exclude the registration of that line But the way it is, it always deletes the first item from the list <button type="button"...
asked by 13.04.2018 / 21:33
2
answers

Send form and display "success" message on own page, and after clicking the submit another button appears

Hello, I'm new to these code stuff and wanted to know how I get the success message after I give Submit, I want those messages that appear in the green field, type a div, and edit with css. And I also wanted to after submit submit to appear anoth...
asked by 10.06.2018 / 19:27
1
answer

Script file on an angular component

Hello, I have an Angular component that needs a specific script file! This component is not started on the first screen of my application, so I can not put my script file in the Bundler, because through the Bundler this file is loaded only on...
asked by 11.06.2018 / 06:23
2
answers

Fill modal Bootstrap with value of a div

I have a table in which the loader value inside it through PHP needs to be in the value of some inputs that are in a modal window of the boostrap. I've tried several solutions, but it does not work. When I click on the table row, it loads the mo...
asked by 01.05.2018 / 00:48
2
answers

Animated arrow indicating rollover

How can I make the animated arrow on the homepage of this site? link     
asked by 19.05.2018 / 16:35
1
answer

Image size rendered by html2canvas

I have a script that creates an image of a div using html2canvas and would like to know if there is any way to change the whidth and height of that image. <div id="MinhaDiv">Conteúdo a ser renderizado</div> <...
asked by 29.04.2018 / 01:51
1
answer

Get specific value of JSON

I have an API that returns the corresponding image of a status, but I'm having trouble picking only the 'pathname' field in my API response. API Response: ({"code":1,"msg":"OK","details":[{"caminhofoto":"https:\/\/localhost\/sistema\/asse...
asked by 28.04.2018 / 14:54