Questions tagged as 'button'

0
answers

Change the text color of a button via XML when clicking on it

Good afternoon!   I'm creating a styleGuides for an android application and I'm having a hard time changing the text color of the button to the moment it is clicked by the user:   In this example I'm creating a cancel button, where, initially, t...
asked by 05.05.2018 / 20:08
1
answer

CSS does not access the button inside if

CSS is working with the button within else but it does not work with the button inside if . The button that is inside the if refers to the page with the user logged in and the else with the logged off user that is usually loa...
asked by 28.03.2018 / 19:11
0
answers

Delete record from javascript table React

Good morning,  I am not able to delete data from an API, My intention would be to put a Button in a column and when clicked on that Button the data of the respective line would be erased. This is my first post in the forum, let me know if you...
asked by 13.03.2018 / 15:24
1
answer

How do I assign multiple events to the same button?

I have a layout where I can only have one button and need to use the same layout for multiple onClick events in a cardView. How do I achieve this? public void onClick(View arg0) { switch (arg0.getContext()) { case ge...
asked by 27.12.2017 / 22:18
0
answers

Label on a button

How to add a label a button, as in the image? By clicking this button, this label disappears, just to let you know that there is something new in the menu. how to do something like this?     
asked by 30.10.2017 / 15:02
2
answers

Python 3.x Show data typed in an Entry in a Label only after pressing a button

I wanted to know the following; In my program there are: Entry1 - > where the user types some information btn1 - > where it confirms the name and the previously entered data is displayed in the console
asked by 10.07.2017 / 06:09
1
answer

Create Boot using document.createElement ()

I really need some help, thanks. I need to create this function: <input type="button" value="Refresh Page" onClick="history.go(0)"> But it must be created using the document.createElement () method and I'm not getting it, I've already...
asked by 03.07.2017 / 22:21
2
answers

Do search inside input and open in another page

Hello, I'm creating a project in my computer course. I would like to know the best way to do a search in the database inside an input, and open another page in the search. Note: I'm using php, I've used input and created a button to point to...
asked by 04.04.2017 / 18:28
1
answer

Call functions / procedure via buttons using Object Oriented PHP

I'm starting in PHP O.O and I'm having a hard time calling functions that are in the class via HTML buttons. In fact, it is not in calling but in setting the values that are in the function. Example: <?php Class Conta{ public $saldo;...
asked by 18.02.2017 / 03:19
0
answers

Get values of buttons that are randomly generated [closed]

I need to get the values in the click event of the buttons, which are automatically generated with php . I am not able to do the javascript/jquery function to do this. Here is the code that generates them: while ($i != $max) {...
asked by 06.12.2016 / 16:06