Questions tagged as 'javascript'

1
answer

Resize images with Print.Window

I have a function that takes print from an image to be able to print it. But I would like to know if you can change the position of this image at the time it enters the method. function thus opens the image I would like to resize...
asked by 04.06.2018 / 22:27
1
answer

Clear modal after inserting record in database with php and ajax

I'm saving a record inside the MYSQL database with AJAX . The problem is when I insert a new record with the modal. It brings up the record I entered earlier. How can I make the modal after registration clean? Modal HTML <!--...
asked by 04.06.2018 / 14:20
2
answers

How to enable a button after input is filled [closed]

I need to make a "next" button disabled as long as the user does not type inside the input     
asked by 08.05.2018 / 21:48
1
answer

Change HTML code via jQuery

I'm trying to insert the following code on this page to be able to change the text that appears when the client subscribes to the modal newsletter , which appears when the client is about to leave the page: $(document).ready(function(){...
asked by 09.05.2018 / 21:37
1
answer

Add and remove select with button

I'm developing a form in which I have a select that chooses states and capitals from Brazil, but since whoever fill can add more than one select I need to make a add another select button, as I'll save the selected values, is that in case I am p...
asked by 03.05.2018 / 19:43
1
answer

Get value passed by aria-controls (Bootstrap tab panel)

How can I get the value passed by the aria-controls of the Bootstrap tab panel to compare from a data array to bring only the products of the category in question. Where to start JavaScript ? This value obtained by JavaScript will need...
asked by 04.05.2018 / 20:21
1
answer

How do I break the line in the nodeEnter.append of D3

This is the code that generates the text tag in svg from using the D3 library: nodeEnter.append("text") .attr("x", rectW / 2) .attr("y", rectH/3) .attr("dy", ".35em") .attr("text-anchor", "middle") .text...
asked by 04.05.2018 / 20:13
1
answer

How to know the current position of an element in the option

<!DOCTYPE html> <html> <body> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="vw">VW</option> <option value="audi"...
asked by 04.05.2018 / 01:07
1
answer

Action with scroll in javascript

My project is to make an animation on a logo using a css effect from the animate.css library, the animation will occur at a certain point in the site scroll. I have been able to do something, but there are two bugs or errors, which are: 1 ° -...
asked by 09.06.2018 / 03:28
1
answer

I would like to know how I can do a select with all the Fridays of the year in mysql for example

I'm developing a calendar, and it's going to be used to book meetings. There are sectors, such as the T.I sector, for example, that have a meeting every Friday from 9:30 to 11:30, all year round. I need some way, to insert into my "start date" t...
asked by 09.06.2018 / 17:40