How do you get one Button to raise the Clicking of another Button?

Hello,
I have a hide/show region that is controlled by a button (ButtonA). This button and region is pretty far down in the page.
So the client has requested that I created a second button (ButtonB) and place it at the very top of the page, and wants for this button (ButtonB) when clicked to 'click' the hide/show button below (ButtonA).
Can you please advise how to do this, ex:
<INPUT type="button" value="Show All Regions" name="ButtonB" onClick="what do I place here to raise the 'click' of button A ">.
Any advice would be appreciated as I must demo this feature to the client tomorrow morning.
Many thanks,
Laura
Edited by: user8936524 on Apr 19, 2010 4:35 AM

Depends what type of button it is.
If it's a button in a region position, use the optional redirect section
Set the Target to "URL" and enter URL TArget as something like:
javascript:function_to_call();Alternatively if its a region item button, it's a bit more tricky.
What I did was create a new button template (copied from the standard "Button" template, called "Button - link to attribute") and replaced the
<a href="#LINK#">bits with
<a href="#BUTTON_ATTRIBUTES#">you can then add the code (as above) to the attribute property of the button.

Similar Messages

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • Pages for ipad2 - how do you get text to wrap around the contours of a picture? Not the simple square wrap, but I saw text following the contours of a bike wheel at the Apple store demo

    Pages for ipad2 - how do you get text to wrap around the contours of a picture?  Not the simple square wrap, but I saw text following the contours of a picture of a bike wheel at the Apple store demo

    Sjazbec,
    Thanks for the reply.
    I did read the help and went through the tutorial - the butterfly text wrap (and the wrap around the curved contour of the bicycle wheel at the Apple store) is the reason I am asking this question.  I don't know how to use one of my own pictures and tell Pages what contour to wrap around.  Is there some additional image editing software that I need to "creatively crop" one of my own pictures, so that Pages will be able to wrap around that contour?
    Thanks / Danke!!

  • When you delete an app from your homescreen it is still in the cloud, does that mean you still have the app, and how do you get it back on to the home screen

    When you delete an app from your homescreen it is still in the cloud, does that mean you still have the app, and how do you get it back on to the home screen. new to ipad so do not know much. Anybody know.p

    As long as the app remains in the store then you can re-download it via the Purchased tab in the App Store app, or via the Purchased Link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    Similarly ibooks can be re-downloaded, and depending upon what country that you are in then music, films and tv shows may also be re-downloadable (if they remain available in the store).

  • How can you get audio for  books on the kindle

    how can you get audio for  books on the kindle

    The audio inputs on Macs are line level inputs and not mic inputs.  You need a mic with a built in preamp (battery powered) or more conveniently a USB mic or bluetooth headset.

  • How can you get an applet to obey the CSS z-index attribute?

    How can you get an applet to obey the CSS z-index attribute?
    I have a DHMTL page with a panel that I want to slide back and forth. But another part of the requirement is to have the panel look like it is sliding under another panel.
    The problem is that an applet is on the panel that slides. When the sliding panel move under the stationary panel the applet does not go under the stationary panel, but the reset of the sliding panel does render looking like it is sliding under.
    See below.
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    ~ has a z-index of 1
    # and * have a z-index 2
    # shows above ~ and below ^
    ^ has a z-index of 3What I am getting with the applet on the panel with a z-index of 2 is the following
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~           #############***************           ^ -
    - ~           #            ^             *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @                  @    *           ^ -
    - ~           #  @@@@@@@@@@@@@@@@@@@@    *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #            ^             *           ^ -
    - ~           #############^**************           ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~                      ~ ^                         ^ -
    - ~~~~~~~~~~~~~~~~~~~~~~~~ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ -
    --------------------------------------------------------Where @ is the applet. Notice how the applet is on top of the ^ but the panel under it, ^, is under like it should be. All the panels are 1x1 tables with a border. So how can I get the applet on the drawing shown with # and * to follow the rendering of the z-index of 2?

    Hi,
    I have the same problem, and don't know how to solve it, So, i had tried to put my applet in a div tag wih z-index=0, but it still hide my other Dhtml divs with bigger Z-index (z-index =1000)
    Have you any idea to solve this.
    Thanks
    Hakim

  • How do you get your iphone out of the connect to itunes screen?

    How do you get your iphone out of the connect to itunes screen?

    What error message is it displaying? Check this Apple support document for information on specific error messages when restoring the iPhone. http://support.apple.com/kb/ts1275

  • How do you get old emails back from the cloud storage

    how do you get old emails back from the cloud storage

    How did you get them into cloud storage?

  • With the new io5 on safari how do you get back to top of the page quickly

    With the new io5 on safari how do you get back to top of the page quickly?

    Same way as before - click on the top. But the area to click seems to be slightly lower ... aim for the touch of the grey and black instead of the black.

  • How do you get Groups to work on the IPAD? They imported and show in Address Book but when used, only the first address picks up.

    How do you get Groups to work on the IPAD. They show in address book but only the first name is used when entering.

    When you select the bookmark on the upper left, you should be able to see multiple groups.
    For the groups page, select the bookmark on the upper right to see the individual entries.

  • How do you geT ICal to print out the To Do Items in the same order as you have sorted them on the screen

    How do you geT ICal to print out the To Do Items in the same order as you have sorted them on the screen

    Without actually seeing some of what is in the .ics attachment there's really no way to see what's going on.

  • How do you get PSE12 to stop opening the keyword menu at the top of the screen

    How do you get PSE12 to stop opening the keyword menu at the top of the screen when you want to isolate tagged photos?????????????
    it takes up 1/4 of the screen. This is so stupid. PSE10 had it done right, just a click box and boom all the photos tagged would be there!
    This makes NO sense the way it is done now.
    How do you turn it off, please . I am ready to send this back to amazon and go back to 10.

    Ceslaus1234 wrote:
    I'm sorry but what difference does it make if I post here or in Elements Village?
    None,
    But giving the link is easier for me than typing a new answer...
    Sorry for being so lazy .

  • When you have a list or blog within a box on a page, how do you get it to scroll within the box.

    When you have a list or blog within a box on a page, how do you get it to scroll within the box?

    Thanks so much!  Whatever I was trying only worked randomly. You made my day!

  • How do you get your I pad to the way it was before update

    How do you get I pad to the way it was before the new update. The new update *****.

    You don't. This is the new iOS that you are running, and it cannot be downgraded.
    Why don't you give it some time. Play around with the settings to see if you can get the look and feel more to your liking. Play with the new features. And don't forget, that with the enhanced security, if you are using iCloud and Find My iPhone, your device is far less attactive to would-be thieves. It cannot be reset to factory settings without turning off Find My iPhone, and only you know what the password required to do that is....
    If you have specific things that you would like to see changed or improved, send feedback to Apple:
    http://www.apple.com/feedback/
    Cheers,
    GB

  • How do you get a cd out of the imac g5 drive if the computer doesn't know it's in there.  I've tried shutting it off and holding the mouse button, but nothing works because the computer can't eject what it isn't registering to be there in the first place.

    I can't get access to the cd that is probably slid past where it is supposed to go.  The computer doesn't note it is in there.  This happened once before and I used another cd to tap it into place, and then I could eject the cd.  It's a library music cd and nothing I've done to eject it, works.  The dvd drive is empty to the computer, even though I've tried to trick it by getting it to burn a cd or dvd.  It says insert disc.  Hope someone knows how to pop it into place or open the thing up to get access to the drive.  That cd is due! 

    power off your machine.  hold down your left mouse button.  power on your machine.  This should eject the cd.
    Eject cd
    Here is a web page on twelve ways to eject the cd.
    http://www.osxfaq.com/dailytips/01-2003/01-16.ws
    You indicate you are running on a g5, but 10.6 doesn't run on on a G5.
    On a PowerPC-based Macintosh (but not an Intel-based Macintosh), you may use Open Firmware to eject a CD or DVD disc when normal methods for ejecting it have not succeeded.
    Immediately after the startup sound, press and hold the key combination Command-Option-o-f. Enter commands:
    eject cd
    mac-boot
    http://docs.info.apple.com/article.html?artnum=106752

Maybe you are looking for

  • Photoshop has encountered a problem and needs to close

    I have had the cs4 software about three weeks, Everything has been running perfectly un til this morning. I was attempting to past an image to a vanishing point and got the hourglass/ spinning circle that is was working, then an error message about m

  • SMC - Solaris Management Console in whole root zone

    Hi, Is it possible to run smc in whole root zone? Is there a howto for this? I have created a whole root zone in my x86 and sparc systems but I can't seem to manage the zones through smc (Adding users, share disks and etc). I was able to manage my sp

  • Issue with Delimiting Infotype 169

    Hi All, I am trying to delimit Infotype 169. It's working fine. We also have Change Document Logging on. It is storing all changes to IT 169 except delimit action. Any inputs will be helpful. Regards, Amit Khare

  • Xml schema not working in excel 2010 - xml corrupt

    I originally posted this thread in Microsoft Answers but was suggested to post here... I upgraded from xl2003 to xl2010. I'm trying to map xml schemas to xl2010 (using the source pane just as I did for xl2003) and the mapping works fine until I save

  • I cannot download Adobe Reader update

    I want to know why I cannot download Adobe Reader update? I went to the Adobe website without success. I'm experincing problem watching some movies or anything similar on Youtube because Adobe Reader is not up to date. So, I followed the instruction