Questions tagged as 'onclick'

1
answer

Access a specific component within a listview

I have a list of music with a favorite icon, when the user clicks on this icon I want to change the color of the icon as the action to enjoy. In this framework I have an Activity, a listView in this Activity, an Adapter class that does the in...
asked by 29.05.2018 / 18:51
1
answer

Pass data from Firebase Database by Intent and retrieve in another activity [duplicate]

This is the fragment of my Fragment code in which I need to pass a parameter (Firebase DB id) through an Intent generated by Adapter.setOnClickListener : ... viewHolder.eventoCardView.setOnClickListener(new View.OnClickListener() {...
asked by 22.03.2018 / 00:30
2
answers

Pass PHP variable onclick="history.go (-1)"

I'm trying to create a button that returns the form to correct it, thus keeping all content typed in HTML for the user to correct the wrong information, however sending a PHP variable so I can do the UPDATE in MySQL without inserting a n...
asked by 07.12.2017 / 20:08
1
answer

Click as if it were toggle or hover

I have a problem with something similar to a legacy tooltip, what happens is that they did in hover this way: var elem = jQuery('#interrogacao_adicionar_cartao_div'); jQuery('#tooltip-cartao').hover( function() { elem.show();...
asked by 22.11.2017 / 19:54
2
answers

OnClick JavaScript not working with "line break"

I am a problem, I get an information entered by the user in the database and put it in a button with onclick for the user to click put it in a modal so that it can edit, I can not put directly in the modal because they are several informatio...
asked by 25.08.2017 / 21:43
1
answer

onClick on dynamically created components React

I have a user-defined component called <Match> that is dynamically created inside another <Event> component. But putting an onClick on the component throws an exception. How to solve the problem, being that for e...
asked by 30.11.2016 / 14:54
1
answer

Javascript: Hide button after event "subscribe"

People in this google script have a comment "Add code to handle subscribe event." translating "Add code to handle signature event.". I want to know if I have to put a code in this place so that when the action "subcribe" the sum button occurs...
asked by 13.02.2017 / 15:29
1
answer

When I click the button more than 1 time the count accelerates

People I got from a friend here of the forum a script of a button with countdown, that upon clicking if the count begins. Thank you very much because it is very good ... there is only one problem, when I click more than once on the button the co...
asked by 30.06.2016 / 22:25
1
answer

Click on listview item

I have the following code, which shows the items in a list, on the screen: Activity: public class InviteActivity extends ListActivity implements InviteView { @Override protected void onCreate(Bundle savedInstanceState) { sup...
asked by 24.11.2016 / 18:12
1
answer

ReferenceError: ... is not defined

Hello, I'm having a problem with the JavaScript I'm using, I'm going to put the practical example I'm using, in the head of my HTML I have 3 different tag openings. follows: <script type="text/javascript" src="http://maps.google.com/maps/api...
asked by 22.07.2016 / 21:17