Questions tagged as 'button'

1
answer

bring html code from the bank

I have the following doubt, I know I'm not doing it the right way, but I believe it will do me good. I'm trying to integrate my College project with Pagseguro, but I'm finding it complex regarding the use of the API, but I saw that in Pagseguro...
asked by 28.10.2016 / 05:35
3
answers

Interact / Search Button for your Tag using WPF

I have a screen with 25 buttons and would like to interact with the buttons through the code. For example, a number is generated using the Random function: Random rdn = new Random(); numero = rdn.Next(0,25); Let's say the result w...
asked by 15.10.2015 / 23:25
1
answer

How to use the power button on the mobile phone?

I wonder if you can use the power button on an app in your phone. Example: Performing some function if pressed the button three times in a row. If possible I would like some example. Thank you!     
asked by 30.04.2016 / 18:36
1
answer

I click the button and it does not add the div - C # Asp.Net

I click the button and it does not add me to the div, but sends it to the database, can anyone help me? C # protected void img_btn_enviar_nome_Click(object sender, EventArgs e) { UtilizadoresBot msg_nome = new Utilizad...
asked by 15.10.2018 / 00:37
1
answer

How to make input content appear in the alert?

No JavaScript: function myFunction (){ var input = document.querySelector('.inputt'); var text = document.createTextNode(''); b_i.innerHTML = textt; alert(textt); } HTML : <inpu...
asked by 27.07.2018 / 05:08
1
answer

findViewById (); with a variable within the method

Type like this: public void main(){ String a = "bt1"; Button bt1 = (Button) findViewById(R.id.a); } I know this does not work, but it would be more or less like this, using a String variable.     
asked by 12.02.2018 / 02:51
1
answer

Delete delete button does not work

I have a query page that shows the entries made in the database through a form and a button with the option to delete. Query page: <h1 style=" text-align: center; height: 7; margin-top: 150; margin-bottom:70; "> Cons...
asked by 16.08.2017 / 14:11
1
answer

How to get the status of Android toggleButton?

How to get the status of ToggleButton if it is turned on or off, I looked at the documentation of Android only has the method to change the state, had to pick the state of the button to make the comparison.     
asked by 12.05.2017 / 19:57
2
answers

Android keyboard does not overlay buttons

In one of the screens of my application: WhenIopenthekeyboarditoverlapsthecompletedbutton: OriginalFoodRecordscreen InthisotherscreenoftheapplicationthisdoesnothappenandIwouldlikeittohappen: Followthecodefromthelastscreen:<?xmlversion="1....
asked by 12.01.2017 / 00:04
2
answers

PHP and Javascript - Show alert without refreshing the page

I have a button on my page that sends e-mail with some information filled out. However, if two of the fields are empty, the browser gives an alert warning (indicated in the code below in ALL). <?php if(isset($_POST['btnEnvia'])){ $unida...
asked by 28.10.2015 / 17:35