How can I submit the form back to the server, then reload the page again

Hi
I have 2 comboboxes, one is already populated with data by the time the page is loaded. The second combobox will be populated depending on the value chosen from the first combobox
I need to know how can submit the form to go back to the server with the selected value from the first combobox, get some data from the database and then regenerate the whole page again filling the second combobox with the collected data
for example, here s my select tag:
<select name="country" id="firstBox" onchange="populateSecondList()">
     <option value="" SELECTED>
     </select>
<select name="city" id="firstBox">
     <option value="">
     </select>
what should I have to add in the retrieveSecondOptions() function?

declare a second combo box in a iframe and to iframe tag there is attribute to which you can sepcify the file name like one.jsp
now call onchange event on first combo box and forward request to one.jsp

Similar Messages

  • How can I get a form back that I just messed up?

    How can I get a form back that I just messed up on forms central.  It was perfect and I just ruined it!!!

    Hi;
    If you still have the form open, on the Design tab you can use the "Ctrl+Z" to undo changes multiple times (CMD+Z on Mac). 
    One thing to note for future, if you have a form that is in a good state and you are going to experiment with more changes you can (assuming a paid account that allows more than 1 form) Duplicate the form so you can work in the duplicate and then copy those changes back once you are satisfied with them.
    Thanks,
    Josh

  • How can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    how can i get Google maps back on, i lost them with the ios6 update, the new maps are terrible

    It's still not known if and when Google Maps becomes available in the AppStore. This is today's story: http://www.macrumors.com/2012/09/25/google-has-not-yet-submitted-a-google-maps-a pp-to-apple/

  • I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    I reinstalled my OS and now it wants to empty my phone.  How can I get it to back up my phone without removing the data?

    You can't. But if you backed up your computer prior to wiping it out, you should be able to restore your iTunes library, contacts, photos, etc. from that backup. Once you do, you can set the phone up again and just sync everything from your library back to it.
    If you didn't back the computer up either, you can transfer items purchased on the phone into iTunes, and if you set up at least one contact in whatever application you sync your contacts to on the computer, it will offer to merge the address books on the first sync, saving those.  Any media you'd acquired from sources other than the iTunes store will have to be re-downloaded from the source or re-ripped.
    The iPhone is NOT a backup device.

  • How can i extract a person from a picture and then animate the person

    how can i extract a person from a picture and then animate the person

    Basically you select the person using the various selection tools, copy the selection to the clipboard, and paste the selection onto the destination picture. Then use the Move tool to resize/reposition the person as necessary. Here is a tutorial demonstrating this as well as some advanced techniques.
    http://home.earthlink.net/~msand42/PSE/composite/

  • How can I submit a form that depends on another form?

    Hello,
    I have a jsp with 2 different forms. The one is a Login form and the other one does some calculations.
    In my servlet I want to be able to proceed with the calculation form (when I click submit) only if someone is logged in.
    How can I do that? Any suggestions please?

    Actually what I did is when I submit the calculation form in my servlet I am requesting the login bean ( this is where I store the username and password if a customer logs in, plus a boolean variable to keep track if someone is logged in or not) like that:
    Login login = (Login)session.getAttribute("login");
    But I want somehow to get the Bean boolen variable and check if it is true or false, but I don't know how to do it. I did the following and it didn't work:
    //create a new boolean variable to store the Bean boolean
    boolean checkLoggedIn = request.getIsLogged();
    Any suggestions?

  • How can I get my emails back into my hotmail account from the Mail app

    Dear Apple support team
    I started using the Mail app some weeks ago because I apparently needed it, to be able to open an invitation for an iCloud shared photo folder. As soon as I registered my email into the Mail app all my emails from my hotmail account where deleted from the hotmail server. I really hope that this is possible to revert because if not, it'd be a catastrophe for me. I use that account from several devices for work, and I need those old emails in the server to be able to work again!
    I'd really appreciate any advice on this!
    Many thanks,
    Pier

    You can use the iPhoto Export feature to do that. Furthermore, it's the best way if you want to keep the quality of the pictures.
    To put the photos in the Pictures folder, first open iPhoto and then, select Edit menu (on the menu bar) > Select All. Finally, go to File menu > Export, and export your photos to the Pictures folder, so they will appear on all Time Machine backups you create since then

  • How can I create a form with a button that adds a new page of fields to fill out?

    Hi,
    I have a one-page form created in Acrobat Pro 9 that contains five fields for a user to complete. I'd like to give the user the option of adding a page with the same five fields to fill out. The user finishes those fields, presses an "Add a Page" button, and then gets another page to fill out, and so on. When finished, their PDF form might be 10 pages long, at which point the user can save it as a single PDF file. Is this possible to do in Acrobat Pro 9 or 10, and if so, how?
    Thanks,
    Andrew

    When I created a new template like you told me, I wasn't given the option to rename the fields. See screenshot below. I'm just given the option to add a new template. Changing it refers to changing the template to a different page.
    If you can show me how to have the fields renamed automatically or use the rename parameter, I think that should fix it.
    Under Tools>JavaScript>Document JavaScripts, I've added a Script named "PackagingArtwork".
    // Here is the code
    function PackagingArtwork()
    {this.createTemplate({cName: "PackagingArtwork", nPage: 5});
    // Here the code that spawns the template
    var PackagingArtworkArray = this.templates;
              var PackagingArtwork = PackagingArtworkArray[0];
              PackagingArtwork.spawn(this.numPages, false, false);
    This is what the JS debugger said.
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    var t1 = createTemplate("t1", 0);
    var oXO = t1.spawn({nPage: numPages, bOverlay: false});
    while (numPages < 50) {
        t1.spawn({nPage: numPages,  bOverlay: false, oXObject: oXO});
    undefined
    [object CosObj=<<Stream>>]
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:Field:Mouse Up
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1
    TypeError: PackagingArtworkArray is null
    2:AcroForm:Duplicate Packaging Artwork:Annot1:MouseUp:Action1

  • How can I store a form name with path and then call form from a table

    Is it possible that any form that I built I store that form in some table in DB and then call that form from table, if yes, then how can i get this functionality. I am not very experience in form and do not know if it can be done because i think if it is possible then this can be a good security for application and easy to handle as well.
    Thanks in advance
    Maz

    If you have a Forms block based on this table:
    declare
      module varchar2(100);
    begin
      module := :block.column;
      call_form ( module ) ;
    end;If you don't have any blok based on that table
    declare
      module varchar2(100);
    begin
      select  module_name
      into module
      from ...
      where ...
      call_form ( module ) ;
    end;Francois

  • How can I update a catalog on my laptop and then transfer the updates to master catalog on desktop?

    This is similar to Goeffbubbles question but I don't want to have the original files on both laptop and desktop
    Here is the question:
    I want to make a copy of a Lightroom 3 catalog to put on my laptop so while on the move I can be geo-tagging and keywording to 8000 photographs. I don't want to drag an external drive with me. I just want to be able to work on the catalog metadata and have all the updates/changes stored there (on the laptop)(in the catalog) and then transfer the catalog back to the desktop (to the primary archive) and have all the updates/changes pushed back into the DNG's or the XMP sidecar files alongside the CR2's. These changes would be only keywording and possibly writing GPS data into them….NOT image edits (that would probally require access to the original image files)
    As a test, I tried "exporting as catalog", TWO images (with the source images "unavailable"). I flash-drived the resulting catalog to my laptop. I opened the catalog in LR3 and made changes to the metadata. I tried both "saving metadata to file" and "updating DNG previews" (which would be useless anyway since I could not write data back to the missing originals) and also tried doing nothing and just closing LR,  then pulling the flashdrive and plugging it into the DESKTOP.(knowing the changes are stored within the catalog itself only) I open the 2 picture catalog in LR and see the keyword updates. Hurrah!
    I switch over to the master catalog. All I want to do is import the updated metadata (keywording, contrast, etc…) back into the master catalog and push the data into the original DNG or XMP. On import I select "replace: Metadata and develop settings only" (with or without "preserve old settings" checked) and click import. Voila! NOTHING HAPPENS and the updated keywords are NOT picked up.
    Where did I go wrong? I know that the metadata updates were carried out because they showed up when I opened it separately in LR! For some reason they don't seem to making through the import process to the master catalog…
    Sorry if I am being overly verbose....Any suggestions?

    the part you're missing is that you have to be a little more destructive in your creation.
    here are my steps:
    In LR, put the files you want to work on in a subfolder of your Primary catalog
    Export Folder As Catalog with previews, but without including the DNG's
    At your new location/machine work on that catalog.
    Here's the part that's no fun, (obviously have a backup of your catalog before you do this)
    In your primary catalog REMOVE that folder from your catalog. (this will remove all references within your catalog, but leave the RAW files alone where they were)
    You then FILE-->IMPORT FROM ANOTHER CATALOG, and import your subfolder export back into your Primary catalog.
    It'll bring all of your changes and previews back into your Primary catalog but with unlinked RAW files.
    Click on the question mark in the corner of the thumbnail that's telling you it doesn't know where the source files are and LOCATE the original file again in your file structure, with the FIND NEARBY MISSING PHOTOS box checked.
    Overly complicated for what it is, but it gets the job done.
    I found your post because it was suggested on the sidebar after I just made a feature request on the same topic.

  • HT1178 My Time Capsule is only blinking amber. My computer tried to backup but I don't know how to tell if it did in fact back up the data. How can I tell if it backed up and why doesn't the light show green?

    Just purchased a Time Capsule. Had to call Comcast to disable the WIFI and have internet connection. The time capsule though blinks amber and the Airport Utility shows blinking amber light and has a red circle with the number 1 in it. After connecting, my computer tried doing a backup for the first time and it appeared that it was backing up and finished although I don't know how to check to make sure that it did backup. How do I check and shouldn't the light on the time capsule be blinking green and the airport utility show green?

    TM will show it has done a backup.. Look at the info.. when was the backup completed??
    If you want more details install the widget.
    A1 here.
    http://pondini.org/TM/Troubleshooting.html
    The time capsule though blinks amber and the Airport Utility shows blinking amber light and has a red circle with the number 1 in it.
    There is an error.. probably trivial.. firmware update, default password..
    Open the airport utility and find out what the error is.
    Simply click the TC and see status in the summary page.. it will list all the errors and what you should do.. fix or ignore them. ie this TC has an error.. default password.. I chose to ignore.. when I "fix" the problem the LED goes green.
    Here is additional TC.. it is blinking amber with faults.
    Click the fault. eg default password.
    You can ignore or edit .. if you click edit it will take you to the full setup where you can change the settings.
    I ignored my errors and now it is green..

  • HT4623 how can i get my contact back from my old iPhone to the new iphone

    my iphone broke i buy a new one and i dont know how to get my contacs back and picture / videos

    did you have a backup of the old phone and do you still have it?

  • I have a mac osx tiger. The camera light is not showing on. Can no longer receive or send video feed for skype calls. How can I get my camera back to working? Thanks Madhu

    I have a mac os x tiger. The camera light is not showing as on. I can no longer receive or send video feed. How can I set my camera back to on?
    Thanks Madhu

    Troubleshooting the iSight camera:
    http://support.apple.com/kb/HT2090
    and
    http://support.apple.com/kb/HT2090

  • How can I attach my form to an email?

    How can I attach my form to an email?

    Go to the distribute tab - you can either email a link to a web form or create a PDF form to send.
    Randy

  • How can I get my photos back from icloud

    How can I get my photos back from my iPhone 4 on the icloud I got my music and my contacts but for some reason I can not get my photos. 

    Hi sadie,
    When you did the backup, were the 1500 pictures all on your camera roll? Or were they on other Albums?
    iCloud is not a storage device for your photos. You should be importing them to a computer or uploading them to a cloud storage facility like DropBox or Flickr.
    Each time you do a backup of to iCloud, it creates a backup of what is on your phone at that moment in time. So, if you had some photos on one backup, but not the other, you would only be able to "recover" the photos from one of those backups. Photos in iCloud are not aggregative.
    Also, the iCloud backup of photos only includes those photos or videos in the Camera Roll. Photos in any other album are not backed up:
    http://support.apple.com/kb/PH12519?viewlocale=en_US
    If you had PhotoStream turned on, then the last month's-worth of PhotoStream, or the last 1000 PhotoStream photos would also still be viewable.
    Can you tell us where those 1500 photos were located when you did your backup?
    Sorry that you lost your photos. Take a look at DropBox in the App Store, or check out Flickr. If you aren't importing your photos on a regular basis to a computer, then these would be your best bet to protect your photos going forward.
    GB

Maybe you are looking for

  • Add single/multiple line of text in a document library

    Hello, I was wondering if there is a way to have a document library that gives you the ability to add text based items in the same column as the file you upload through the library, like you can do through lists. For example, I want to be able to hav

  • How to make a SL Mac Mini a VPN server?

    I'd like to set up my Mac Mini at home as a VPN server.  I have read online that it can be done in non server SL, but I see in network where to add a VPN, but that looks more like a connecting into one rather than setting one up.  Is there a way to s

  • Can powershell be used to provide a list of people with reset password ability?

    We are trying to tighten our security, but thanks to the environment we are in this is a bigger task than it should be. As part of this I have been asked to get a list of users who have the ability to reset other users passwords. there are the obviou

  • Lob Chunk size defulting to 8192

    10.2.0.3 Enterprise on Linux x86-64 DB is a warehouse and we truncate and insert and or update 90% of all records daily. I have a table with almost 8mill records and I ran the below to get max lenght for the lob. select max(dbms_lob.getlength(C500170

  • Purchase Requisition Release Strategy not triggeringusing Userexit M06B0001

    Hi, My client wants to trigger PR Approval based on the Department,based on User it will go to respective Line Manger. For that I am using Userexit  M06B0001, But when I am using this Characterictis it is not triggering Release Strategy. If I am usin