Questions tagged as 'jquery'

0
answers

Creating 2d Tray with Images

Hello, I'm creating a 2d board game with Js / html / CSS, With the code below I can make the text of each div move around the board, but I can not make these pieces as images ... In the codepen below you can see with the current operation:...
asked by 03.04.2018 / 19:32
1
answer

Fix Bug for a simple Jquery function

Hello! I'm having a small problem with bugs on a site I'm putting together, where when you open the interface, a JQuery function that was made to replace the navbar logo with a larger one is not being applied. Only when you scroll down an...
asked by 03.04.2018 / 16:59
0
answers

Refresh iframe per button click

I have a script that causes if the iframe could not be loaded show a reporting div of the error: var iframe = $( '#meuIframe' ); var url = 'http://link.com/iframe.html'; $.get( url, function ( data ) { iframe.onload = function () {};...
asked by 07.04.2018 / 21:30
1
answer

How to filter result from another page with Jquery Load () or Get ()?

In an HTML I have for example: <fieldset> <div> <h3 class="title title-line">Dados da conta</h3> </div> <div class="ch-form-row"> <label>Usuário</label> <s...
asked by 29.03.2018 / 16:58
0
answers

Export HTML Table Image to EXCEL or PDF

I have an HTML table, in the last column an image is displayed (JPEG, PNG). Is it possible to export this table to EXCEL or PDF with the image? I used DataTables to do a test, but the image is not exported together with the table. <!D...
asked by 26.03.2018 / 15:39
0
answers

Change the name of a file by JavaScript

I'm developing a system for downloading songs externally and for this I'm using the tag with the download attribute: <a href="http://path/to/archive/music.mp3" download="new_name.mp3" /> But because it is an external file, I can not c...
asked by 23.03.2018 / 22:12
1
answer

How to set time in bootstrap timepicker

Hello, how do I set the timepicker to current time or 01:00? $('.timepicker').timepicker({ showInputs: false, defaultTime: '', minuteStep: 1, disableFocus: true, template: 'dropdown', showMeridia...
asked by 27.03.2018 / 23:42
2
answers

Delete array element

I have a form with 60 input textbox with name numero [], of these 60 numbers I can only select a quantity x (quantity can be variable); how do I do when the user unchecks the checkbox the number is removed from the array? var i = 0, sel...
asked by 27.03.2018 / 12:48
1
answer

infinite scroll in foreach

Can anyone help me? I'm trying to find some way to use infinite scroll in this code: <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "lista.m3u8"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleW...
asked by 20.03.2018 / 15:08
2
answers

Problem with sorting by date with DATABASE plugin

I have a problem with the ordering of a table with a Datatable plugin and I am doing a SQL query already ordered by a field and when I present the table with the plugin it reorders it in another way and I tried several ways without success ....
asked by 20.03.2018 / 15:48