Script to change Table display from Drop-down options

I have created a Web Template in BEx WAD (BW 3.5) with 4 Tables assigned to 4 dfferent Queries. Now I want to change the display of the all the Four Tables based on the selection of display properties chosen in a single Dropdown item. The properties to be selected in the dropdown are like changing the Alternate style display of Rows, Suppress Alternate Style, Display only 30 Rows or 60 Rows.
Please help me in writing the script necessary to pass the command from the dropdown to all the Tables to get the desired output.
Thanks,
Krishna

Change the path and image to suit in the following
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
</head>
<body>
<select name="image" id="image" class="inputbox" size="1">
   <option value=""> - Select Image - </option>
   <option value="image1.jpg">image1.jpg</option>
   <option value="image2.jpg">image2.jpg</option>
   <option value="image3.jpg">image3.jpg</option>
</select>
<div id="imagePreview">
   displays image here
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script>
$(document).ready(function() {
   $("#image").change(function() {
     $("#imagePreview").empty();
     if ( $("#image").val()!="" ){
        $("#imagePreview").append("<img src=\"" + $("#image").val()  + "\" />");
     else{
        $("#imagePreview").append("displays image here");
</script>
</body>
</html>
Gramps

Similar Messages

  • Change an image from drop down menu

    I am trying to build a mobile contact form for my company.  I want to add a selection for "Car", "SUV", and "Truck" to later do image mapping to make it easier for my customer to indicate the damaged area.  I want to do this for my regular site also, but once I learn the steps I will do that later.  Anyways this is as far as I have gotten:
    http://www.paintngoinc.com/contactmobile2.html
    I have dreamweaver CS5.5 but built that using the codiqa wysiwyg builder on http://jquerymobile.com/
    A little about my web building skills, consider me to be an amateur.

    Change the path and image to suit in the following
    <!DOCTYPE html>
    <html>
    <head>
    <title>Untitled</title>
    </head>
    <body>
    <select name="image" id="image" class="inputbox" size="1">
       <option value=""> - Select Image - </option>
       <option value="image1.jpg">image1.jpg</option>
       <option value="image2.jpg">image2.jpg</option>
       <option value="image3.jpg">image3.jpg</option>
    </select>
    <div id="imagePreview">
       displays image here
    </div>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script>
    $(document).ready(function() {
       $("#image").change(function() {
         $("#imagePreview").empty();
         if ( $("#image").val()!="" ){
            $("#imagePreview").append("<img src=\"" + $("#image").val()  + "\" />");
         else{
            $("#imagePreview").append("displays image here");
    </script>
    </body>
    </html>
    Gramps

  • Trying to change my phone number. screen says to choose area code from drop down menu but it is blank and won't let me go further

    I am trying to change my phone number. Screen says to choose area code & prefix from drop down menu.  Drop down is blank.  Will not let me go further

        Hello llamamama9,
    Yikes! I'm sorry to learn you are having issues with changing your mobile number. I understand how important this options is. I'm dedicated to making sure this is completed once and for all. I know some time has passed since your original post, have you changed your mobile number? If not, please visit http://vz.to/V668o0 If you are still having issues after following this guide, please feel free to reach out to us, thanks!
    MatthewS_VZW
    VZW Support
    Follow us on Twitter @VZWSUPPORT

  • My Alias Email Isn't an Option From Drop-Down + I Want to Change my Main Email Acct

    Unfortunately phone support linked me here, so I hope to get a response.
    Issue 1:
    I have a main Apple ID which also serves as my main email account. Under this account, I have an alias. This alias does NOT show up under the drop-down options when sending mail from my MBP Mail app or iPhone 4.
    Issue 2:
    I do NOT want to use my Apple ID as my main email account. I want to replace it with my alias, (from issue 1). How can I do that?
    Thanks in advance.

    Thanks, but this is what's happening:
    In Mail, Contacts, Calendarts>Add Account
    Add a MobileMe or Other?
    If I choose MobileMe, it asks for my MobileMe account. If I enter that info, it tells me I already have that account set up, which I do.
    So I clicked the Create Free Apple ID button on the same screen, below.
    This goes to a New Apple ID page
    I enter location and DOB
    This goes to a New Apple ID page
    I enter all of the information as required, then click Done
    I get an error:
    Cannot Create Apple ID
    If you have an @me.com email address, sign in using your MobileMe password
    This takes me back to where I started without a solution.

  • Unable to capture data from drop down list in custom added field in migo tcode at item level

    Hi guys,
    need bit help in resolving query related to custom added field in Tcode migo.
    i have added a field in migo at item level ,in this i have used drop down list
    to get data but unable to capture data from drop down list.gown through
    many blogs in scn but unable to resolve.
    Please help me out in this.
    Thanks,
    Umakant.

    Hi,
    U can use following code to fill the list box
    write this code in PBO
    In layout editor please select listbox in dropdown attribute of input field and put some fctcode attribute
    TYPE-POOLS vrm.
      DATA values TYPE vrm_values WITH HEADER LINE.
      TABLES: <ur custom Database table>.
      clear values, values[].
      SELECT * FROM <ur custom Database table>.
        values-text = <TABLE FIELD TO DISPLAY IN DROPDOWN> .
        values-key = <TABLE KEY FIELD TO DISPLAY IN DROPDOWN>.
        APPEND values.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = '<SCREEN INPUT FIELD NAME>'
          values          = values[]
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
    Also please define the following before accessing the listbox value
    data: <listbox input field name> type <table field name>,
            <inputfield name where text to display> type string  in top include
    In PAI, select the text from the table into <inputfield name where text to display>  depending on value selected which will be called when enter key is pressed or any vale is selected

  • Multiple selection from drop down : NWDS7.0 SPS18

    Hi Team,
    How can achieve multiple selection from drop down? I am working on NWDS7.0 SPS18. I have known the concept of item list box... is that's the only option?.
    Is it possible to make it as filter option that we have in our Microsoft excel.
    Customer wants select either/all options @once from drop down.
    TIA,
    Vanita K

    Hi,
    Create a node with cardinality 0-n and selection property set to 0-n
    Create a table UI element and bind this node as a datasource to this table.
    Set the selection mode  property of this table as auto or multi
    Once this is done, populate the node with some data elements.
    When you run the application, you will be able to select multiple rows from the table.
    To get the selected rows, use below code on the action of some button
         wdComponentAPI.getMessageManager().reportSuccess("Selected rows are");
         int n = wdContext.nodeEmployeeData().size();//size of node binded with table
         int leadSelected = wdContext.nodeEmployeeData().getLeadSelection();
         for (int i = n - 1; i >= 0; --i)
              if (wdContext.nodeEmployeeData().isMultiSelected(i) || leadSelected == i )
                   IEmployeeDataElement employeeDataElement = wdContext.nodeEmployeeData().getEmployeeDataElementAt(i);
                   wdComponentAPI.getMessageManager().reportSuccess("ID: "+employeeDataElement.getID()+"Name: "+employeeDataElement.getName());
    For adding sorting and filtering functionality to the table follow the article
    [WDJ - A Generic Java Class for Filtering Web Dynpro Tables|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f]
    Regards,
    Amol

  • Hide id from drop-down list at the top of the detail tab

    Hello Nakisa experts!
    I have one more question about Nakisa OrgChart 4.0 SP 1.
    How can I hide position and org unti id from drop-down list at the top of detail tab, see picture below:
    Thanks in advance.

    I'm not sure you're going to be able to change this.  I think (but I'm afraid I don't know for sure) the section is defined by \WEB-INF\uitemaplates\com\nakisa\manager\omg\ui\subucs\sectionDesigners\DetailHistoryButtonSectionSubUC.xhtml, which after a quick search through the application looks as though it might be populated by a NakisaTrollBin.jar ... which isn't really something you should be looking to edit.
    Nakisa do often write in various settings that can allow features to be tweaked and enabled/disabled.  It could be that there's something you could add into SettingsResources to apply the change you require, but you would need to contact Nakisa about this as they don't document all of these options.
    All this being said I would query why this is being done.  It is not uncommon to say have multiple positions with the same name - e.g. HR Administrator might exist in several org units.  If you are looking through several identically named org units or positions, the unique identifier is going to be the object's ID.  As such it seems most logical to me to keep the ID in the history to allow a user to discern the difference between identically named positions/org units.
    Regards,
    Stephen.

  • Is there any way to stop the print screen from dropping down on top of the page to be printed.  Can the print screen be moved?

    Is there a way to stop the print screen from dropping down on top of the page to be printed.  Can the print screen be moved?  When the print screen drops down, it covers the page and the info needed to create the file.  Thank you

    You will find that this is application dependent.  Most Apple applications such as Safari and Mail will use the "sheet" type of dialog boxes that you are referring.  There is no way for the user to change that behavior.  Other, non-Apple, applications like Firefox use a "modal" dialog box for printing etc.  The modal boxes can be moved around so you can see the page behind.

  • How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    How can I remove a mailbox address from the "From" drop down box in a new e-mail my old e-mail address continue to populate as the sender address

    Hello,
    Try Mail>Preferences>Accounts icon>Account Information tab>Click on the Outgoing SMTP server drop down, choose edit Server list, highlight the old one & click Remove.
    (Such convolution is worthy of Windows® in my estimation)

  • Drop down option for an output field in an ALV display

    hi,
    how to provide a drop down option for a field in the output of an ALV Grid display........
    Thanks in advance

    Hi Deepthi,
    Please refer this program BCALV_EDIT_07 and BCALV_EDIT_06.
    This will help you in your program
    <b>Reward Points if Useful</b>
    Thanks
    Vishwanath Purohit

  • How to capture selected value from drop down by index

    Dear friends,
    i want to capture the value of select value from drop down by index, for eg if  select air france, how to capture , could any one please let me know
    Thanks
    Vijaya

    Hi Vijaya,
    You can get the value of selected from drop down as below
    Check out the event handler method attached to Onselect event of the ui element drop down by index , if no event is associated, then create an event and attach to the drop down list
    Now you will be having the CONTEXT_ELEMENT in the WDEVENT parameter
                   data lo_element type ref to if_wd_context_element.
                   lo_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT').
    Now, you can get the static attribute value of selected  drop down value & let us say your drop down list values are populated from context node 'ND_DRP_DOWN'
                   data ls_data type wd_this->element_nd_drp_down.
                             lo_element->get_static_attributes(
                                       importing
                                       static_attributes = ls_data ).
    Hope this helps you.
    Regards,
    Rama

  • Clicking on the downward arrow at the right end of the location bar no longer displays the drop-down list of sites visited, bookmarks and addresses typed in location bar

    Since I upgraded to Firefox version 3.6.10, clicking on the downward arrow at the right end of the location bar no longer displays the drop-down list of sites visited, bookmarks and addresses typed in location bar. My Tools > Options > privacy setting is to save history, and if I start typing a previously accessed website's address in the location bar, then the full address appears as a drop-down item. But not when I just click at the right end of the bar.

    You can try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Repeating Sections on Group By displayed as drop downs

    Hi All,
    We have a requirement to build an interactive report using the Web Layout Editor. We have a Repeating Section based on Group By to be displayed within the report. These are currently displayed as drop downs and currently it is not displaying all the sections in one go. Is there a setting which can display the same in an interactive setting - we tried "All"; but that just removes the section wise split within the report. It must be noted that this is an issue only within the interactive report, exported reports such as HTML, PDF, etc display the sections properly.
    Thanks in advance,

    see the answer in your other post

  • Mobile Me Alias not showing up in "From" drop down list in Mac Mail

    I have a couple of older .mac/Mobile Me email aliases that used to show up as either [email protected] or [email protected] in Mac Mail in the From drop down list, as recently as yesterday. Today, all I can see for any alias that has both the .mac and @me options due to their age, is the @mac.com version. I want to use the @me version of the alias, but this option no longer shows in the list. Newer Mobile Me aliases only have the @me.com address and they show up fine. One last point. If I use the Mobile Me web mail app, I can see both the @mac.com and the @me.com choices in the From drop down list, so it's working as it should.
    Mail isn't working correctly, but since I've not updated the Mail app recently, I suspect Mobile Me isn't sending both versions of the aliases over when the list is refreshed.
    Any suggestions? Thanks!

    It started about a week ago. The "From" drop-dow is now missing in Mac Mail. It should appear beneath the subject line. I was working with MobileMe Chat support for about 3 hours. They cannot solve the problem and have now escalated it to the "Senior Advisor Team."

  • I Changed the Display from 60hz to 24 now no display Help, I Changed the Display from 60hz to 24 now no display Help

    I am on a Mac G4 and just installed 10.5.8. I the System Preferences I selected Display and changed the display from 60 hz to 24. Now I get no display. Is there a way to revert back, or access the terminal to change the monitor back so it displays? I know I could reload but that takes a couple of hours.
    Any Ideas?

    Satrt in Safe Mode (Hold Shift while starting). That should allow you to restate the proper preferences in the Display preferences.
    Be patient. Safe mode boots take longer.
    If not, reset the PRAM:
    Hold Cmd+Opt+P+R and start the computer. Hold the keys through two startup chimes and release. The machine should boot normally; settings will now be at default.
    http://support.apple.com/kb/ht1379?viewlocale=it_it

Maybe you are looking for

  • CRM Auto-Dialer for ACT! Contact Manager

    I'm using 7961 series phone and a contact manager that has auto-dialer that usually needs an analog line. I do have a digital to analog converter but it does not respond since there is no dial tone after getting outside line. Question: I wondered if

  • Can I import an exported iPhoto library to Aperture 3?

    I have a DVD of iPhoto events from a wedding last year. It has about six 'events' which are different people's camera films, and I assigned faces etc to the whole lot in iPhoto before I exported it to DVD. I'd now like to put it in Aperture, to add t

  • Infinity? - A never-ending total nightmare!

    Are you thinking about getting BT Infinity? Based on our experience I wouldn't bother if I were you. We had it installed a week ago - and we still DON'T have anything like the 40MB speed advertised, despite three engineer visits and countless phone c

  • Solaris 10 startup scripts

    how to replace the startup scripts from Solaris 9 or 8 to Solaris 10?

  • Audio port automatically changes to digital out

    Hi, I want to record audio from my MiniDisc unit to a 13" MacBook (Mac OS X 10.6.8) using GarageBand, Audacity or similar. The MD unit is a Sony RH1, which has a Line out port. I connected this via a 3,5mm TRS connector to the combined Audio port of