Questions tagged as 'javascript-eventos'

1
answer

Pass the id of an element as a parameter to a function?

I have a table on my site that is automatically generating an id for each table column. I placed the function call on each line. How do I pass the id of this <td> per parameter on the function so that I can identify which row...
asked by 15.03.2018 / 17:46
0
answers

Wizard progress bar works only after page refresh

When integrating the twitter bootstrap wizard with my application, I noticed that the progress bar works only when I refresh the page. I have seen in some places that this can be caused by turbolinks but I have not found any solution to the prob...
asked by 13.11.2017 / 00:56
1
answer

Submit form with event when checking radio bootflap buton

I'm using this responsive HTML library ( link ) and I want to submit a form when I click on a radio button. The problem is that as there are several "layers" of divs above the radio button, this is not checked directly, and then the submit event...
asked by 29.10.2017 / 01:14
0
answers

Trigger event by name

I get by a function the name of the event and the element that should trigger this event eg: callEvent('click', 'btnEvent') In this function I would like to return the element and trigger the last event return: var elem = document.getE...
asked by 29.08.2017 / 21:54
0
answers

Jquery and keyboard in android and IOS

I am having difficulty catching which character the user pressed when using smartphone with ANDROID / IPHONE. I use the jquery keyup event, but the answer is always undefined or 229. Does anyone know how to solve this? The code I'm using:...
asked by 12.04.2017 / 01:19
0
answers

function savefile (); exports default to downloads folder

Good morning, I would like a help, the function is exporting directly to download folder, I would like to be able to choose in which to save the file. I still can not see a solution to this functionality, thank you all who are willing to give me...
asked by 26.05.2017 / 14:15
0
answers

Last Selected Menu Item

Personal I have a tree structure, and I'm making a menu with the elements of it, but I need the last element to be selected. Can someone help me? viewModel = kendo.observable({ currentItems: [], navigation: [], initialize: functio...
asked by 24.10.2016 / 20:37
1
answer

I have one form inside the other and I can not get the most internal form

Here is an example of how the form is, it is much more complex than that, it already has almost 10 years of use and I do not have time to modify everything. But I need to have access to the form that is inside the other, that is the form that is...
asked by 27.04.2017 / 14:32
1
answer

How and why getElementById does not execute on page load?

Business problem: I will create a system that will run on a serverless platform. It can be a local administration area interface (a client for a service), or a Mobile application. The application will dynamically load content for ease of maint...
asked by 02.03.2017 / 15:42
2
answers

'input' event only occurring when loading page

Hello, folks at StackOverflow. I try to make a textarea of a web page that I'm developing check continuously if the typed text is equal to or different from a predefined phrase, according to the javascript code and jquery below: var atualiz...
asked by 19.05.2017 / 17:58