Most voted "button" questions
"Button" means "button" in English. Use this tag to subjects related to form buttons or buttons built in other ways and that do some action when clicked.
Learn more…204 questions
Sort by count of
-
0
votes3
answers210
views -
0
votes2
answers1678
viewsPHP and Javascript - Show alert without updating page
I have on my page a button that sends e-mail with some information. However, if two of the fields are empty, the browser gives an alert warning (indicated in the code below in TODO). <?php…
-
0
votes1
answer98
views -
0
votes1
answer35
viewsButton with cookie and Location
At the beginning of my page includes the cookie: <?php setcookie("agenda","2016");?> At the bottom of the page, without using form, I have the following button: <button class="button…
-
0
votes1
answer366
viewsHow to customize the attach file button in aspx
I’m having trouble changing the text of the file attachment button. My button has the text like this: I wanted to change the text of "Search..." Could be how? I’m doing on Asp.net. Follow the upload…
-
0
votes1
answer1616
viewsHow to use the power button on your phone?
I wonder if it is possible to use the power button (on and off) of the phone in an application. Example: Performing some function if pressed the button three times in a row. If possible I would like…
-
0
votes1
answer57
viewsJavascript button error on IE9
I have a browser problem only in IE9, which occurs at the time I load an attachment and when I click the include attachment button (POST) as image below: function uploadResponse(frameId) { $.ajax({…
-
0
votes2
answers68
viewsMake disappear buttons based on login
I have the problem in changing Toolbar buttons (Barbutton Items) depending on whether you are logged in or not. Tableviewcontroller: - (void)viewDidLoad { [super viewDidLoad]; User *userObj = [[User…
-
0
votes0
answers51
viewsHow to generate multiple buttons with the same variable and catch them separately
Hello, I’ll put the important part of the code here and then I’ll explain what I want to do. Main: public static JButton sala; public static int contagemTurmas = 0; botaoSalvar.addActionListener(new…
-
0
votes1
answer635
viewsPutting more than one SUBMIT input into an HTML form
I have on my page a form (form) with an already determined action and an input button. <form id="educForm1" name="educForm1" action="<?php echo ROOT . 'educacao' ?>/enviaemail"…
-
0
votes1
answer285
viewsInsert button dynamically in Relativelayout
I have a Listview and I want to add a button next to each item in the list, but it has to be dynamically: item_listview.xml <RelativeLayout…
-
0
votes2
answers109
viewsHow to associate a variable to an ID?
I have an integer array and need to associate this value to a given button, to change its backgound. If the array has the number "40", I need the "button40" to change color. and so on, until the…
-
0
votes0
answers87
viewsHow to perform button action within Listview Android C#
I created an android data query application, where they have the layout and Adapter ready to crud data, but the crud operation worked when data is entered and consulted. I was unable to make a…
-
0
votes1
answer1439
viewsPassing ID by modal parameter
I have the following problem, I have a $Id PHP I need to receive it in modal to make a SELECT in the table, and search for information in the BD. The button it sits on one page, and the modal on…
-
0
votes1
answer688
viewsConvert icone checkbox to icone bootstrap boot
Good evening, it is possible to change the illustration of a checkbox and make it look like a boot? <script src="https://cdn.jotfor.ms/static/prototype.forms.js"…
-
0
votes0
answers94
viewsLink timer to a button
Hello, I’m starting now to program in c++ and I’m developing a college project, it’s a periodic table. We thought of using a button for each element (118 in total). My goal is to animate the button…
-
0
votes2
answers879
viewsCreate quit button using onClick
I’m having a problem with a button on android. I need to create a exit button, but when the button is selected an error appears. This is the Dashboard class: public class Dashboard extends Activity…
-
0
votes1
answer1043
viewsHow to make a Submit with <button type="button">?
I have created some and need them to perform the same functions (with database) of how to register, change, etc. Can anyone help me or explain how to do this? Thank you !
-
0
votes1
answer352
viewsHow to catch the state of toggleButton Android?
How to catch the state of ToggleButton if this on or off, I looked at the Android documentation only has the method of changing the state, I needed to get the status of the button to make the…
-
0
votes1
answer66
viewsHow to convert a Checkbox to a Toggle Button?
Guys I created a checkbox column - Datagridviewcheckboxcolumn - in the Datagridview and would like to know if it is possible, and how do I make this column to become a button column to enable or…
-
0
votes2
answers2017
viewsHow do I turn on onclick in my javascript?
Well, I’m making a game in javascript where I have 100 buttons and I need the value of the button that the user click to be searched to validate whether the user got it right or not, I recommended…
-
0
votes1
answer30
viewsDifficulty hitting the buttons in the layout
I can’t get the Buttons on the layout like I want. I wanted to leave one button at the center and the others at the bottom (bottom) below what is at the center. Only they don’t get right and I can’t…
-
0
votes1
answer260
viewsError while trying to add an image as a button background
A few days ago, Android Studio indicated that it had updates that were available... I had already finished an application some time ago and it was ready to be published and Talz, only lacked the…
-
0
votes0
answers113
viewsCreate a "Submit" button after creating a "spinner" with email confirmation
I’m new to creating android apps and wanted your help Crier in the Navigation Drawer one Spinner with 2 text boxes, a drop down list and a button of Submit where this button will have to fetch the…
-
0
votes1
answer460
viewsHow to change the color of the button when pressed?
I need to change the color of a button when it is pressed, as it could be done?
-
0
votes1
answer2562
viewsfindViewById(); with a variable within the method
Kind of: public void main(){ String a = "bt1"; Button bt1 = (Button) findViewById(R.id.a); } I know it doesn’t work, but it would be something like this, using a variable String.…
-
0
votes1
answer1050
viewsAdjust image inside button
Does anyone know how to adjust the image to the size of the button without it being cropped? Button: <Button android:id="@+id/funcionario" android:layout_width="fill_parent"…
-
0
votes1
answer30
viewsbtnSubmit_Click is not a member of 'ASP.cliente_aspx'
I am creating a site in Asp.net with a master page. When I try to put a datepicker gives me error. I’m using this one Website The same is giving the following error 'btnSubmit_Click is not a member…
-
0
votes0
answers21
views"Drop button" only with information
Can anyone explain to me how I can find a tutorial on this? I look for "drop button" (which makes sense) but I can’t find anything related to this! is a link (<a>) normal: When you click on…
-
0
votes1
answer631
viewsHow to make input content appear on Alert?
To illustrate what I want, it’s like I write something on input and when you press the button, appear, in the alert, the text I wrote. In Javascript: function myFunction (){ var input =…
-
0
votes1
answer792
viewsSet Image to Button inside Listview Xamarin Forms
How to set another image for a Button that is inside a ListView by . Cs or in ViewModel ? I can’t access that Button no . Cs for being inside the ListView. In my Xaml, the button already has an…
-
0
votes1
answer109
viewsRemove "blink screen" effect by pressing a button!
I’m doing a project - with Arduino - together with controls on a page web made in HTML, is all right. However, by pressing a button of this application web, the page is reloaded, giving a "blink"…
-
0
votes1
answer141
viewsRegister button for the application
I’m developing an app and it has user registration and login, I’ve done a lot already, but every time I click the button to register user, the app to, could anyone help me? Follows the code. Class…
-
0
votes1
answer208
viewsQpushbuttos with more robust designs
I’m studying Pyqt5, and I think it’s kind of weird how the Qpushbuttons are designed. you can put the button description in the bottom corner and make it change color when the cursor is on top of it…
-
0
votes2
answers1674
viewsAndroid keyboard does not override buttons
On one of the screens of my application: When I open the keyboard it overwrites the finished button: Screen that original Food Registry Already on this other application screen this does not happen…
-
0
votes1
answer79
viewsJavascript: Hide button after "subscribe" event
People in this google script have a comment written "Add code to Handle subscribe Event." translating "Add code to handle signature event.". I want to know if there is a way I can put a code in this…
-
0
votes1
answer25
viewsAssignment of Function Jquery to Imagebutton
Good morning! How can I assign a Jquery Function to a buttom image ? I have this line of code that is to export a report in excel and I want to call a Function Jquery to load a processing screen…
-
0
votes1
answer42
viewsMenu with pushbutton Arduino (esp32)
I have a question about building a menu with buttons. Initially, I have to wait for a button to be pressed. When someone leaves, I have to open the button option pressed. I tried the following, but…
-
0
votes2
answers755
viewsHow to make a button or a checkbox become inaccessible in android studio?
I would like it to be confirmed that the choices of both Uttons and checkboxes become inaccessible/irresponsive/inactive. I know you can do this using if, but I believe there must be some function…
-
0
votes2
answers908
viewsHow to enable or show a php button after a registration?
I wanted to know how to enable, or even show a button after making a registration. That is, I have a form, and after completing it and sending the information, I want to show another button.…
-
0
votes1
answer1673
viewsProblem per image on a Tkinter button
I want to put image on buttons,I’ve done this way before,but agr n is working. Can you help me? **Detail: **In the same window of Tkinter is instantiated the screen of a Turtle. def images(self):…
-
0
votes1
answer742
viewsDelete record button does not work
I have a query page that shows the entries made in the bank through a form and a button with the option to delete. Page of the consultation: <h1 style=" text-align: center; height: 7; margin-top:…
-
0
votes0
answers335
viewsError creating multiple buttons in XML (Android Studio)
I’m creating an Android app that needs to have 20 buttons and each button of this will open a different screen. The application compiles correctly, but when arriving at the screen that has the 20…
-
0
votes1
answer119
viewsFilter Data from a PHP database list from an Input
I have an input text with the event onkeyup in which I type a word and it is comparing to a database list and returning a button with the same case.. I want that in the course that I type go…
-
0
votes3
answers836
viewsShow button according to php parameter condition
I wonder if it is possible to make the button appear only if the parameter is true. Through the URL comes the parameter ../usuario?id=1¶metro=1 I tried that way but I couldn’t <?php…
-
0
votes2
answers4327
views -
0
votes0
answers340
viewsError "Unfortunately Myapp has stopped" when clicking the application button
I’m running my app on Genymotion, developing on Android Studio. Every time I run my application I click on the button to register, but when I click I come across the following message "Unfortunately…
-
0
votes1
answer125
viewsButton does not appear in an Active and appears in another
I have a problem I don’t know where it is. I have a layout that runs a video, with a button in the front, only that the button does not appear although when I click on the area of the button it…
-
0
votes3
answers62
viewsHow to use a button along with a function?(Javascript/HTML)
Hi, I’m writing a page with a Paper Stone or Scissors game. And I would like the user to be able to choose between the three options through three buttons, which when clicked call a function that…
-
0
votes0
answers39
viewshomepage button - javascript
I am trying to get a button, on click, to return the user to the home page. Since I am mostly working with Javascript (I cannot use j-query), I am creating functions that delete the current elements…