Questions tagged as 'click'

1
answer

Openlayers 4: mouse click to draw a point, make mouse click on the screen and drag the map

Hello, I'm studying the development of a map with the help of Openlayers 4, watching video lessons, I'm at the stage where I created a routine with 3 buttons (Pan, Draw, Erase) to draw on the map. However, when I click the Draw button, to create...
asked by 02.01.2018 / 20:36
1
answer

Get the values of the columns of the row clicked and pass inputs

Here is the function to get the value of the table row, and pass to inputs, if I take the lines that were loaded from the bank not the error but when I insert a new item in the table, then I get the value of 2 column of the line, in the test...
asked by 31.10.2017 / 16:19
2
answers

How to expand one two elements simultaneously with Javascript?

I need to expand two elements. Both have the same class css. The class name for expansion is .fechado a . One is in the element .accordion-seta and another in the .accordion-sinal element. It would be something like: &l...
asked by 15.09.2017 / 13:29
0
answers

give focus () or click () on a text field webview C #

I am developing a webbrowser in UWP (windows universal application) using the C # language, to assign value to a text field that is in the webview I used the following script: string functionString = String.Format("document.getElementById('cha...
asked by 22.06.2017 / 23:20
1
answer

How do I make a button class switch that triggers a player to appear and hide?

I have 3 buttons in the Link format with classes: .icon-play, .icon-pause and .icon-download, I want to change the play class with pause, as well as the inverse without influencing the download button , once the icon-play is clicked it will show...
asked by 05.04.2017 / 17:15
0
answers

Update div with click

I'm using this code to refresh a page div by clicking the <div id="campo"></div> function atualiza_campo_usuario(){ $("#campo").load("http://site.com"); } But what happens is that sometimes updates and sometimes does not up...
asked by 07.04.2015 / 09:04
1
answer

Change view when clicking on another item? [closed]

I'm making an email application and I want it to change when I click the email being viewed. What I want to happen is: I want to apply the same function in both parts. As for clicking on the email, if I click on the sender2 I want...
asked by 25.08.2017 / 15:44
2
answers

Javascript does not load all functions

Have one (one | one) (great | great) (day | late | night)! Well then! By inserting many functions into a <script type="text/javascript"></script> my code will not execute all of them! The browser console does not show...
asked by 19.06.2018 / 15:10