Questions tagged as 'javascript'

1
answer

How to send the value of a radio with the user id concatenated?

Good morning my doubts and complex is creating a system that will create card of each registered user, to differentiate the cards each element of the card has the id of the user. I would like to know how to capture the value of the selected radi...
asked by 14.05.2018 / 11:54
0
answers

How to make the carousel in mobile mode only 1 column

For example I have the following code: <div class="col-md-12 text-center"><h3>Bootstrap 3 Multiple Slide Carousel DESKTOP</h3></div> <div class="col-md-6 col-md-offset-3"> <div class="carousel s...
asked by 14.05.2018 / 14:01
1
answer

Error sending ajax request

I'm doing a registration via ajax, and I'm getting the following error: Request header field X-Requested-With Access-Control-Allow-Headers in preflight response. Do not register, follow my codes: var dataString = $(this).serialize();...
asked by 14.05.2018 / 15:13
0
answers

Upload Preview in modal

I was previewing through another tab: public visualizarArquivo(file): void { var url = window.URL.createObjectURL(file); var a = document.createElement("a"); a.setAttribute("href", url); a.setAttribute("target", "_blank");...
asked by 14.05.2018 / 13:15
0
answers

I can not get the route parameters in angle 5

Every time I try to get the parameters of a route I get an empty object component : ngOnInit() { this.route.params.subscribe( params => { this.token = params console.log(this.toke...
asked by 02.05.2018 / 22:02
0
answers

How to increase the level of image optimization using Gulp?

I have a task and would like to know how do I improve image optimization? Here's my script below: gulp.task( 'build-img', () => gulp.src('assets/img/**/*') .pipe(imagemin( { interlaced: true, prog...
asked by 02.05.2018 / 23:01
0
answers

Session with absolute path

The script below only works if I do not put the absolute path, only the relative path. Can you make it work with absolute path? Absolute: xmlhttp.open("GET", "http://servidor.com.br/codec/azul/getcarteira_virutal.php?"+id , true); Rela...
asked by 13.06.2018 / 21:02
2
answers

FullCalendar does not appear navigation bar

I'm using the FullCalendar plugin, it lists events correctly but only does not display the navigation bar. no javascript errors appear on the console. Looking at the Inpect Element I noticed that the buttons are generated but still remain invisi...
asked by 12.06.2018 / 21:02
1
answer

Javascript Mask Input with negative decimal

I have taken this code here from the forum, but I have doubts about using it with negative numbers. The user needs to enter 1 ° the negative sign and then the numbers. Some results will be negative others, so I needed a way for the user to ty...
asked by 13.06.2018 / 13:32
0
answers

UL Listed List Form

I have a form where the structure is formed by an organized list <ul> <li id="pai"> <input type="text"><button class="ul-appending">Add Input</button> <ul> <li>...
asked by 23.05.2018 / 14:47