How do you get a button to trigger the click of another button?

Hello

I have a hide/show region that is controlled by a button (Button). This button and the area is pretty far down on the page.

If the client has requested that I created a second button (ButtonB) and place it at the top of the page and wants for this (ButtonB) button when you click on ' click on ' hide/show below (Button).

Can you please tell how to proceed, ex:

< INPUT type = "button" value = "show all regions" name = "ButtonB" onClick = "what should I put here to trigger the 'click' of A button" >. ""

Any advice would be appreciated as I have to demo this function when the customer tomorrow morning.

Thank you very much
Laura

Published by: user8936524 on April 19, 2010 04:35

Sorry ill read the original question.
The easiest way is probably to look at the source of the rendered page to find the link.
The desired bit will be a function "javascript:hideShow()", probably in the tag with a class "t2HideandShowRegionLink" (or similar depending on the theme)

If you feel adventurous, you can write a bit of jquery (other javascript libraries are available) to locate and execute the button directly instead of duplicating the code

Tags: Database

Similar Questions

  • How do you get Personas rotator to rotate the skins of firefox persona?

    I have installed and reinstalled the app for Personas rotator and I failed to operate. Please me as to what I have to do to make this work. I have a version of Mac Os X 10.4.11.

    Thank you
    Rosa Cahill

    Please read the instructions on how to set it up here: http://barisderin.com/?p=119

    If this answers your question, please click the button solved next to this post after logging in to the forum. This will help others looking for a solution for the same topic.

    Thank you.

  • I need urgent help!  How do you get a button to open a menu or something that has more buttons on it.

    I need to know how to create a button that, when you press to display a menu with the other buttons on the subject. I am doing this for a school assignment. Basically, I select "Shoes" and that brings up a menu where I can choose from a lot of different shoes. Help, please!

    create a submenu movieclip containing the extra buttons.

    then you can add a listener for your hand touch the causes as movieclip to be added to the stage (for example, using addChild).

  • How do you get MY photos to display the photos instead of written discription

    Hello. I'm in MY pictures and I would program photo poster not written description of the pix for example. jpg, date, etc. How to move this back to this form of display? thanx, Deb

    Hello. I'm in MY pictures and I would program photo poster not written description of the pix for example. jpg, date, etc. How to move this back to this form of display? thanx, Deb

    Hello

    Open Windows Explorer.

    Open the pictures folder.

    Right click on this file and select view. Click on one of the icon views (Small, Medium, Large, Extra large).

    This should show the thumbnails of photo files.

    Let us know if it works for you.

    Concerning

  • How do you get Windows 7 to recognize the old file extensions of Microsoft such as XLR, PFL, WPS, WDB?

    My Windows 7 operating system has been reinstalled just because of some problems.  Now it does not recognize some such as old Microsoft Works file extensions. XLR, WPS, WDB and PFL.  HOW CAN I THIS DIFFICULTY?

    You must install the program that created the file that is to say a version of MS Office or MS Works

    pfl file can be of various shapes, a pdf file requires Adobe Reader

  • How do you get windows 8 to enable the flash drive be the bootable media?

    I have a new (purchased on 11/02/13) computer Toshiba laptop I want to boot from a flash drive with tor/tails on it, but the computer laptop/windows 8, will not allow the flash player to start everything first, or never.

    The BIOS has changed to make the USB boot first, but windows 8 support, without going through the flash player.

    How can this be repaired?  What happens here?

    Thank you

    Michael

    If it is not a setting in BIOS (or the need for a new flash BIOS), I don't really know. It used to be managed by the BIOS, but since the creation of Win8, who seems to have changed.

    SC Tom

  • How can you get firefox to work with the windows subst command locally?

    I want to test my Web site locally using the windows subst command to emulate the root of my site. It works perfectly with IE8 (except IE8 displays the different available to firefox) but does not work with Firefox. All images, sheets, styles and anything with a root path does not work. If I use a relative path (.. /.. / for example) to the objects that they works very well.

    How can I view web pages locally by using a path root of Web site?

    Firefox does not allow access to local files.

    It is always best to use relative addressing.

    See also:

  • Help! How do you get photos from Lightroom once the trial ends?

    Hi, I have been trialing the latest version of Lightroom and the trial period has expired... I've never used before Adobe products and I didn't know that I would not be able to recover the photos after the trial ended. The photos are needed for an assignment for Uni which is due tomorrow!

    Is it possible to recover photos? Thank you!

    Francesca

    As says Dorin, your photos are still there.  Lightroom does not modify your images, so they are always there in any format you've imported the.  If you do not use Lightroom, you can visit the changes to your images in Lightroom unless that, while you still have Lightroom:

    • You export the images (to TIF or JPEG)
    • In the Edit menu, settings tab's catalog metadata, you check "Write automatically changes into XMP", whereby cases, the changes are written to the XMP sidecar files, which can be read by ACR in Photoshop (or elements, I think).

    For you out a fix, as c.frans says, download the RC2 LR4.1.  To do this, no number of series but I think that it expires in June, so be sure to make one of the two options, I mentioned above before this date.

  • How do you get the photos out of Lightroom on a mobile phone?

    How do you get your photos out of Lightroom on a mobile phone? What photo shop tool do you use to get rid of the buttons on the photos?

    Hi alexanderk.

    You can select the images and delete them.

    Press and hold the image in Lightroom Mobile which will bring up the options menu and you can choose to delete.

    Check out this tutorial for Photoshop retouching:

    Professional skin retouching Photoshop Tutorial - YouTube

    Retouching and repair photos and images in Photoshop

    Kind regards

    Claes

  • On my MBP, 2011, bar menu in recovery mode to offer only one option - selector of language. How do you get Terminal? Missing something?

    On my MBP, 2011, in recovery mode menu bar offers only a single - switch language option. How do you get Terminal? Missing something?

    You will need to choose your language first.

    From there on, the Terminal will be on the menu drop-down utilities > Terminal

  • How do you get pictures stored in the photo library of iCloud?

    How do you get pictures stored in the photo library of iCloud?

    Richard

    Tucson

    You can use a browser of the computer (for example, Safari) and you connect to https://www.icloud.com/ and open the Photos app here.

    Will be also in the pictures on any device where you have iCloud library lit. On a Mac, it is turned on via the Apple menu > System Preferences > iCloud > Photos > iCloud photo library. On a Mac to OSX Yosemite 10.10.3 or later version. See below for more information: https://support.apple.com/en-us/HT204264

  • HOW DO YOU GET THE OTHER BROWSER BOOKMARKS THAT EXPLORER AND HOW DO YOU DEFINE TO THE TOP

    I'm trying to get Flash pic Slimbrowser bookmarks. And how do you get bookmarks to work. I have imported some from the Explorer, and they are not displayed. like they aren't there, but when I import them he told me it was full.
    THX

    See bookmarks to import in Google Chrome

  • How do you get the list of bookmarks affixed permanently on the left side of the screen?

    I managed to get the bookmarks permanently open and displayed in a vertical column on the left side of the screen. I accidentally closed and cannot get it to appear again. How do you get the list of bookmarks permanently opened and displayed again? Thank you.

    You can enable or disable the power bookmarks bar by ' display > lateral bars > bookmarks "or Ctrl + B

    You can enable or disable the sidebar story power by ' display > lateral bars > History "or Ctrl + H

    Press the F10 key or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • How can you get rid of the "new tab" page that flashes what you did recently? I don't like this option...

    How can you get rid of the "new tab" page that flashes what you did recently? I don't like this option. If I wanted to Flash all the pages I've visited, I would. It is not YOUR place to do it for me. I'll change the browser if it is not changed.

    Hello, please refer to customize the page new tab to turn off the function.

  • How do you get your music original availible to the public

    How do you get your original music available to artists

    Princes.

    Many artists display their titles on SoundCloud, where you have the possibility to make downloadable or streaming only.

    For retail sales, the most popular output for independent artists is Bandcamp.

Maybe you are looking for

  • What RAM Portege Z830-10F supports?

    How much memory RAM can I put in my Z830? Can I install a module of 8 GB in my ultrabook?Really can only go to 6 b?

  • How to uninstall programs?

    How can I remove installed program correctly? The program is missing several files and Setup is unable to remove it. Windows 7 64-bit operating system

  • Broken before the first use?

    Just took my clip zip from the package and turned on. It is said "refreshing your media" and the progress bar does not move. I let stand for 20 minutes, but it does nothing. I can turn it off and then restart it connected to my computer, which makes

  • Song to break the file?

    I used Windows Movie Maker a few times before, but this time I met a problem for the first time. I added a song to the story line (Yes, it's an mp3 file, but I've never had problems with them before). The song itself is 01:54, but when I add the file

  • Why not open the previous pages in Hotmail Inbox?

    Opens the current page but the arrows at the bottom right seem to be grey so I can't open the previous Inbox pages.