Questions tagged as 'javascript'

0
answers

PHP & ZipArchive () - Failed to load PDF document

Good afternoon, I have a form that in a given input opens a window or multiple windows to display a specific PDF (or PDF's). The folder where the path is, there may be only one PDF or a ZIP file with the multiple PDF's within, according to the v...
asked by 27.03.2018 / 22:47
0
answers

Result of a Submit within the DIV itself

I have a div (id = content) where I load other pages via jquery load. but I would like to know if it is possible to submit a form and have the return in the own div. $('#conteudo').on('click', '.menu', function () { $('#conteudo').load(...
asked by 28.03.2018 / 02:16
2
answers

Make pop-up open after a while

I have a popup and would like it to open after the user is already a while on a particular link. My JS looks like this: if($('.popup-banner').length > 0) { (window.location.href === '/') $('.popup-banner .fechar, .popup-banner ....
asked by 27.03.2018 / 18:58
1
answer

How to do the Facebook content upload technique?

How does Facebook do this by loading your page? It loads the content bit by bit and not all at once like most sites, StackOverflow is an example that loads. How do you call this loading technique? (if you have a name) How can I do it in Ja...
asked by 19.02.2017 / 22:50
0
answers

How to use ng-hide to hide Pin on google maps?

How do I make a toggle (hide / show) for the pins on the map? I'm using this library NGMAP : My view code: <div map-lazy-load="https://maps-api-ssl.google.com/maps/api/js" map-lazy-load-params="{{googleMapsUrl}}" ng-init="my_m...
asked by 20.04.2018 / 17:31
1
answer

How to format the appearance of a link in social networks?

I would like to format the posting of a link as it is done with spotfy and other great sites. Currently only shows the link of the site and would like to leave everything formatted with image + text. Here is an image that sums up my questi...
asked by 20.04.2018 / 16:48
0
answers

Validating form in modal with Vue and Vuelidate

I have a form inside a modal and I'm doing the validation of the fields (client side) using the plugin vuelidate . I use the bootstrap-vue plugin to create the modal, but when I implement the validations of vuelidate, I can not do with tha...
asked by 20.04.2018 / 13:28
1
answer

How to create a jquery object and insert into mongodb via ajax?

I have the following structure in html : <form id="titulo"> <input type="text" name="nome"> </form> <form id="turno1"> <div class="linha"> <input type="text" name="dia"> <input type="text" nam...
asked by 29.03.2018 / 20:38
1
answer

Display block does not work in Safari

I'm trying to change the css of a loading via javascript. The element is as display:none and when I submit change this element to display:block and it appears on the screen. The issue is that when tested in Mac Safari it just...
asked by 30.03.2018 / 01:24
1
answer

Get the value of a radio input with JavaScript

<input type="radio" name="opcao" id="1" value="op1"> <input type="radio" name="opcao" id="2" value="op2"> <input type="radio" name="opcao" id="3" value="op4"> <input type="radio" name="opcao" id="4" value="op8"> How do...
asked by 23.03.2018 / 23:27