button

Why does this CSS button mess with <a> tags?

Here is my CSS button { border: 0 none; cursor: pointer; padding: 0 15px 0 0; text-align: center; height: 30px; line-height: 30px; width: auto; } button a { color:white; text-decoration:none; } button.rounded { background: transparent url(/images/button/btn_right.png) no-repeat scroll right to...

changing "enabled" value of a button during runtime in flex

i want to make a button disabled if a datagrid is empty and it should be enabled when there is atleast 1 entry.the entries in the grid are made at runtime.I tried this this is the button: <mx:Button id="update" label="Update Contact" enabled="{isButtonEnabled()}"/> and the function is defined as where dg_contact is the datagrid: publ...

ListView and Buttons inside ListView

I want to display a button inside the listview. The goal should be to click on the listview line or on the button. Click on the line it shows more info. Click on the button it shows at the bottom more buttons. The same as the GMAIL app. On the right there is a checkbox and after clicking on the checkbox at the bottom the button bar ap...

need a button that calls a php function

I need to have a button that calls a php function to resort displayed data from the db. How the heck do I do this? I just found out that because php is server side this sucks. So any help please? ...

YUI button onclick get value

I have a a set of yui buttons generated using the standard yui html. <span class="yui-button yui-checkbox-button" id="analystbutton1"> <span class="first-child"> <button type="button" class="facetbutton" tabindex="0" id="analystbutton1-button"> Joe Bloggs </button> </span> </span> I create the butto...

Iphone sdk 4 home button minimizes the app

Hi, i have created a small app using the sdk 4, app works perfectly fine, but when the user hits the home button to exit and when he comes back, the app doesn't go to the home screen, it continues from the state (screen) which the user hit the home button. How can I reset it? ...

YUI checkbox button onclick form submission

So i have a set of checkbox buttons generate using YUI markup and javascript. They have a function listening for an onclick event. var onFacetClick = function (e) { // e is the event console.log(e); alert(this.get('value')); alert(this.get('checked')); submitForm(); }; When I click on the checkbox the function gets called, ...

How can I put icons on a jquery ui input button?

Based on the jquery ui button documentation, I tried the following: <jquery>$("#test").button({ icons: { primary:'ui-icon-gear' } });</jquery> <input id="test" type="submit" value="test"></input> However the icon doesn't appear on the button. If I change the <input> to a <span>, it works; but I need the icons on a form submit button. ...

Test if the user has typed date format ASP.NET (VB)

Hey, I have two textbox called BIRTH & EMAIL, and I must test in button click if the user has typed a date & email format in those two TextBox. How can do that ? ...

Calling button in Action Script 3.0

I am trying to make button panel. each button have two type btn_home and btn_home_white I am trying to reach those buttons.It is work if I write for each button their own methods like btn_home.addEventListener(MouseEvent.MOUSE_OVER,overEffect); btn_home_white.addEventListener(MouseEvent.MOUSE_OUT,outEffect); function overEffect(e:...

ASP.NET button_click not firing, after browser back button

I have a ASPX Page that contains several user controls, which are loaded dynamically after user interaction. On one of ascx I have a hidden button that is being clicked on some user actions (via button.click()), which works fine on 1st page load. But after the form is being submitted once, the other ascx is loaded. There if user clicks...

Center a group of four buttons in a RelativeLayout in the Android SDK

Hey, I currently have four buttons placed in a keypad-like arrangement in an AbsoluteLayout. <AbsoluteLayout android:id="@+id/WalkingTabView" android:orientation="vertical" android:gravity="center_vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"...

jQuery Button.click() event is triggered twice

Hello everyone I have the following problem with this code: <button id="delete">Remove items</button> $("#delete").button({ icons: { primary: 'ui-icon-trash' } }).click(function() { alert("Clicked"); }); If I click this button, the alert show up two times. It's not only with this specific button but with ...

Change the background color of a Flex toggle button

What is the easiest way to change the background color of a toggle button when it is selected? I've tried creating a custom skin for the button and applying it to the downSkin property, but I can't figure out how to change the background color from within the skin. Also I'd like to avoid using an image as a background if possible. ...

How to set a fixed width on buttons within a jQuery buttonset?

I have a button set, and would like to set the width of each button so they can be the same size (i.e. if I have 4 buttons of 25% each of the element) Basically the site has a table on the left, and within that table I have 4 options. The way it is right now is it's not using 100% of the left column, so it looks bad. I'm looking to make...

What context do I use for a new Dialog?

I need a custom dialog to appear on button press. Here is my code: Button button3 = (Button) findViewById(R.id.Button03); button3.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { final Dialog custdialog = new Dialog(this); custdialog.setContentView(R.layout.cust...

Flex - Menu Created On Button Click

I created a Button in MXMXL. On button click, I create a Menu as a child of the Button. I am using an XML datasource. The reason for creating it this way, was due to the amount of custom skinning involved. A popupmenubutton was not an option. Anyway, so my question is this: when clicking the button, the menu is displayed. However, if you...

after signup back button problem

hello... i am doing signup form . in this i am doing validations using php. after signup i am redirecting to next page. then i am clicking browser back button then all the form data displaying as it is. so how can i prevent this? ...

Android Button ==> Set highlighted image ???

How can i set the button to show a different image after it's been tapped? Either a different image, or maybe some kind of highlighting that shows the button was tapped/ Thanks ...

RadioButtonList on ASP.NET (VB)

Hey, I have a RadioButtonList wich contain 4 radio buttons A,B,C,D RBQ.Items.Add("A") RBQ.Items.Add("B") RBQ.Items.Add("C") RBQ.Items.Add("D") How can set the selected value to the radio button who has the value "B" ???? Thanks. ...