Need JavaScript help please!

Hey guys im just learning javascript and im having a small amount of trouble. its just one problem.
in a javascript script i need to use prompt to get a line of text from the user and it the output of the program needs to be the words of the inputed text, but in alphabetical order. i know i need to use the sort method, and i am pretty sure i need to use the slice method as well to turn the input into a string? i do not know how to structure it though, any help would be great!
Also i would need to add a second input request to the user to select either "ascending" or "descending" which would determine how to sort the input words. would i just give the sort method a parameter?
Thank you for any feedback ahead of time!!

Java and javascript are not the same at all. Go to [W3Schools.com|http://www.w3schools.com/] or [Google.com|http://www.google.com/] to get your answers

Similar Messages

  • Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute then turn on wifi on iMac before it can reconnect. Need some help please.

    Remote App on iPad connects but drops after about  20 mins. Need to turn  off wait about 1 minute, then turn on wifi on iMac before it can reconnect. Need some help please.
    Already gone through troubleshooting guide a zillion times. Thanks.

    This worked for me... A little time consuming but once you get rolling it goes GREAT... Thanks....
    I got my artwork and saved it to my Desktop
    Opened up Microsoft Paint and clicked on "File" and "Open" and found it to get it on the screen to resize it
    Clicked "resize" and a box for changing it opened up
    Checked the box "Pixels" and "Unchecked maintain aspect ratio"
    Set Horizontal for 640 and Vertical for 480
    Clicked on "OK" and went back to "File" and did a "Save As" and chose JPEG Picture
    It came up "File Already Existed" and clicked "OK" (really did not care about the original artwork I found because wrong size)
    Went to iTunes and on the movie right clicked on "Get Info", clicked on "Details", then "Artwork"
    Go to the little box on the top left that shows your old artwork and click on it to get the little blue border to appear around it and hit "Delete" to make it gone
    Click on "Add Artwork" and find it where you put the one from above on your Desktop and hit "Open" and OK and your new artwork is now there and all good.
    Sounds like a lot of steps to follow but after around 5 or so you will fly through it. This worked perfect on my iPhone 6 Plus and I have artwork on my Home Videos now.

  • Hi, my iphone its in recovery mode and when i restore my iphone 5s loading show the blue screen and show note on itunes (unknown error 14) please i need your help please . thanks

    Hi, my iphone its in recovery mode and when i restore my iphone 5s loading show the blue screen and show note on itunes (unknown error 14) please i need your help please . thanks

    In the article Resolve iOS update and restore errors this is what it says about error 14:
    Check your USB connections
    Related errors: 13, 14, 1600, 1601, 1602, 1603, 1604, 1611, 1643-1650, 2000, 2001, 2002, 2005, 2006, 2009, 4005, 4013, 4014, or “invalid response."
    If the USB connection between your device and computer is interrupted, you may be unable to update or restore.
    To narrow down the issue, you can also change up your hardware:
    Use the USB cable that came with your device, or a different Apple USB cable.
    Plug your cable into a different USB port directly on your computer. Don't plug it into your keyboard.
    Try a different computer.
    If necessary, resolve any further issues with the USB connection, then with your security software.
    If you're still seeing the error message, check for hardware issues by following the next section.

  • Hi! I got movies on my external hard drive that are AVI kind and won't play on my macbook pro? need some help please!!

    Hi! I got Movies on my external hard drive that are AVI kind and won't play on my macbook pro? When I start playing the movie a message pops up and says "a required codec is not available". I tried flip4mac, xvid, divx already and still not playing my video. need some help please!! thanks.

    Although vlc mentioned above is a much more powerful and better player you could try installing Perian if you insist on using the quicktime player.  It may supply the codec it needs.
    Not sure why you wouldn't be able to play straight avi files though in quicktime.

  • HT1199 I need your help, PLEASE. How can to fix "NO MOUNTABLE FILE SYSTEM" error of my back up hard drive on Mountain Lion OS?

    I need your help, PLEASE. How can to fix "NO MOUNTABLE FILE SYSTEM" error of my back up hard drive on Mountain Lion OS?

    Did you format the drive for Mac use before you tried to use it as a backup drive?
    Are you using Time Machine on the drive? You can't view the contents of its backup database and the only way to access the info is directly from the Time Machine app.

  • I need serious help please.. We do translations of schoolbooks, I looked for an over-type function but were unable to find, we are working in indesign CS 5. it takes up allot of time to delete text and type in the new language.

    I need serious help please.. We do translations of schoolbooks, I looked for an over-type function but were unable to find, we are working in indesign CS 5. it takes up allot of time to delete text and type in the new language.

    Argh that's frustrating! I never noticed that key did not work in InDesign.
    A bit of research and it turns out the MS Office has this as an option in their software. But I cannot find an option in InDesign preferences to make this work.
    However, somethings are not listed in the shortcuts and preferences and are hidden triggers in InDesign which can be accessed through a script.
    I'm not saying it's possible to activate the Insert Key through a script, but it's plausible that it can be activated.
    Maybe ask on the scripting forum? InDesign Scripting
    I know this may be a possibility as with InDesign's earlier versions of PDF export to interactive documents there previously was no way to export interactive pdfs as single pages if in Spreads.
    But the option to toggle this setting was scriptable.

  • HT201328 Hey, i bought an iphone from online shop and its locked by orange france, i contact them to unlock it but they refused, they said that we regret to inform you that we'r not able to unlock second hand phones? I need your help please.

    Hey, i bought an iphone from online shop as a used phone and its locked by orange france, i contact them to unlock it but they refused, they said that we regret to inform you that we'r not able to unlock second hand phones? I need your help please. Its not fair , apple should figure it out
    Regards,
    Orange

    This is no different with any carrier locked phone. Getting a carrier locked phone officially unlocked is the responsibility of the carrier, not the cell phone manufacturer. A cell phone manufacture cannot unlock a carrier locked phone without the carrier's authorization.
    An iPhone sold as officially unlocked when new can be used by others as a second hand phone, and the same with any carrier locked iPhone that can be unlocked by the carrier, and many carriers offer it.

  • HT4623 I. Tried many time to install my apple to update software but can't fix I need your help please and Thanks.

    How i fix and software update i was tried but cant i need your help please and thanks.

    "but cant"
    That doesnt tell us anything useful. You need to post EXACTLY what you did and EXACTLY what happened, including any error messages.

  • WAD - adding menu entries with JavaScript - help please!

    Hiya,
    I am completely new to JavaScript and I need some help with adding menu entries into my WAD template. Can anyone please help?
    I want to add functionality into my WAD template to enable users adding results rows on a selected characteristic, at a single mouse click. Currently they need to go to the menu -> properties -> characteristic -> display results -> always -> ok. That's five clicks of a mouse (provided they know were to go).
    I want to add this option to the basic menu so that they can click once only.
    What I have managed to figure out so far using SAP help is the following. I have added a Script Item into my WAD Layout and added the following line of code in the Script Editing window:
    sapbi_addToMenu("Add totals", "alternate_context_menu", "X","CHARACTERISTIC", "", "bottom", "", "")
    It worked fine in that it added an extra item "Add totals" to my menu when I righclick on a characteristic. So far so good. However, I have no idea what function I should be using here, or how to code it. Surely WAD uses some function to perform this action, something that I could reuse? Is there a library somewhere of all the function used in WAD?
    Can anyone please help with the code?
    Many thanks,
    Agata

    Hiya again,
    I have managed to partially solve this problem by using the following code. However it requires me to define on which characteristic the function is performed. In this case I have managed to get it working on 0PROJECT, but I want it to be ANY characteristic which has been right clicked?
    Any ideas how I can pass the characteristic name as a VARIABLE, whose value would be read automatically when menu is triggered?
    /* Add Contextmenu entries */
    sapbi_addToMenu("Add totals", "JS_SET_RESULT_VISIBILITY_R", "X","CHARACTERISTIC", "", "bottom", "", "")
    * Javascript functions that are to be integrated into a web template and that
    * are to be used later in the web application ALWAYS have to have the same function
    * signature, i.e. the parameters that will be passed.
    * @param currentState - a list of parameters that describe the state the web item
    * @param defaultCommandSequence - the initially used sequence of commands that
    *       would have been used instead of the custom
    *       script.
    function JS_SET_RESULT_VISIBILITY_R( currentState, defaultCommandSequence ){
    //Note: information can be extracted using the parameter 'currentState'
    // and 'defaultCommandSequence'. In either case create your own object
    // of type 'sapbi_CommandSequence' that will be sent to the server.
    // To extract specific values of parameters refer to the following
    // snippet:
    //  var key = currentState.getParameter( PARAM_KEY ).getValue();
    //  alert( "Selected key: " + key );
    // ('PARAM_KEY' refers to any parameter's name)
    //Create a new object of type sapbi_CommandSequence
    var commandSequence = new sapbi_CommandSequence();
      * Create a new object of type sapbi_Command with the command named "SET_RESULT_VISIBILITY"
    var commandSET_RESULT_VISIBILITY_1 = new sapbi_Command( "SET_RESULT_VISIBILITY" );
    /* Create parameter TARGET_DATA_PROVIDER_REF_LIST */
    var paramTARGET_DATA_PROVIDER_REF_LIST = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF_LIST", "" );
    var paramListTARGET_DATA_PROVIDER_REF_LIST = new sapbi_ParameterList();
    // Create parameter TARGET_DATA_PROVIDER_REF
    var paramTARGET_DATA_PROVIDER_REF1 = new sapbi_Parameter( "TARGET_DATA_PROVIDER_REF", "DP_1" );
    paramListTARGET_DATA_PROVIDER_REF_LIST.setParameter( paramTARGET_DATA_PROVIDER_REF1, 1 );
      // End parameter TARGET_DATA_PROVIDER_REF!
    paramTARGET_DATA_PROVIDER_REF_LIST.setChildList( paramListTARGET_DATA_PROVIDER_REF_LIST );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramTARGET_DATA_PROVIDER_REF_LIST );
    /* End parameter TARGET_DATA_PROVIDER_REF_LIST */
    /* Create parameter CHARACTERISTIC */
    var paramCHARACTERISTIC = new sapbi_Parameter( "CHARACTERISTIC", "0PROJECT" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramCHARACTERISTIC );
    /* End parameter CHARACTERISTIC */
    /* Create parameter RESULT_VISIBILITY */
    var paramRESULT_VISIBILITY = new sapbi_Parameter( "RESULT_VISIBILITY", "VISIBLE" );
    commandSET_RESULT_VISIBILITY_1.addParameter( paramRESULT_VISIBILITY );
    /* End parameter RESULT_VISIBILITY */
    // Add the command to the command sequence
    commandSequence.addCommand( commandSET_RESULT_VISIBILITY_1 );
      * End command commandSET_RESULT_VISIBILITY_1
    //Send the command sequence to the server
        return sapbi_page.sendCommand( commandSequence );

  • Need Urgent help please? I need to restore from a previous iphone backup.

    Oops, I admit it - I messed up but need help please?? I received a replacement iphone today. My broken iphone OS and my itunes had the latest software updates and I did a full backup before going to the store to get the rerplacement. However, when I got home with the replacement iphone and plugged it in, it asked if I wanted to update the OS on it. I made the mistake of saying yes. It then made a backup of the empty factory settings from the new replacement and restored from that rahter than the backup I made before going to the store. Yes I know I should have said no and just did the restore which would have resotred my previous backup that I made before going to the store. Then after everything would be allright I could have told it to update the OS.
    You can slap my in the face or I will do it myslef for making such a stupid mistake. All ready did the "I should have had a V" thing to my forehead.
    After seeing the restore was fromthe factory settings rather than my earlier good backup, I went into my documents and drilled down to the mobile sync backup and saw that one of the three folders (with giberish as a title) has a lot of information with the date and time I did the backup before going to the store.
    Could I possibly delete the later (factory setting backup) folder and then do a restore to get my good backup onto the iphone? I didn't do that yet in fear that it might mess something else up on the iphone and I wanted to check with you experts here first for guidance and assistance, PLEASE?
    I'll be anxiously awaiting any help you can give!
    Thank you!!

    rwmac22 wrote:
    Hopt and OneOrangeTree, Thank you both very much for replying!!
    It took me a long time to get back to the dissucison group because I tried both of your suggestions which therfore had to do about 4 restores. They take quite a while (about 50 minutes each actually). Your help got me half way there and is very apprecaited! I did manage (with your excellent help) to get most of my backup put onto the replaced iphone. the photos, music, and videos didn't get put over. I think I can move those back over by making sure they are selected in the seperate tabbed screens for the iphone. However, I can't get to those screens because every time I connect the iphone now, it brings up the "set up your phone screen". The one with the "an iphone has been previously synced with this compter" setup as new phone or restore from ....
    Well I did the resotre from 3 times and that page still comes up when I plug in the iphone. Yes, I did close itunes, reboot the PC, and powered off the iphone and then brouhgt it back up before connecting (all several times), but itunes still takes me to the same "setup iphone screen".
    Can you help me to get it to the standard iphone screen and there I will make sure the selected items are checked and do a sync.
    Please know I do appreicate your kind assistance so far and hope someone can get me the rest of the way!
    The "Backup" do not store your Applications, Music, Video's. It saves your settings, your application preferences, etc.

  • I am the biggest "Newb" on this site,  and I really need some help please..

    Ok, the short of it.... I started training on Database programming about 2 weeks ago. I still don't really know a thing, or even understand the concepts. Now, my boss wants me to fix a bug in Oracle, and I haven't a clue. The ONLY help I've gotten was a link to this forum, and a speech about how I need to help myself. I told him I have the same chance of fixing anything, as monkeys typing hamlet. Anyone up for a challenge?
    When I go to Application System, then Application Entry and enter the password a dialog box appears.... "FRM-40039: Cannot attatch library Empower while opening from APPUSRAPP."
    That's what I have to fix. I have no clue. I don't even really know how to click around in this program. Please help, someone.
    UPDATE: I've been told that everyone's pretty much going to be a jerk to me for asking this, and I'm currently searching old threads and can't find a way to delete this one I posted. So, you could just ignore the post, or jump in and be the internet tough-guy and tell me what I already know.... I'm a newb.
    Edited by: user11033020 on Apr 14, 2009 11:41 AM

    As this appears to be a Forms error (the error begins with FRM) you might get a better response by posting this in the Forms forum:
    Forms
    The Community Feedback forum isn't meant for product-related questions (as it says in the title).
    Still, you should consider searching Metalink as well. If you've paid for support, you have every right to use it.

  • My stupid iphone turned off sundenly and now is saying i have to connect to itunes and it wont connect to itunes i need ur HELP please please please!!!!  whoever helps me u r an amazing person!!!!!

    help please my iphone 4 turned off sundenly and now is not working its says to connect to itunes but when i get to itunes it shuts offf or doesnt work!!! i am depley need help!!! if anybody can help that wuold be amazing!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! HELP

    The problem is your friend's music does not belong to you.  It is owned by your friend.
    I'm afraid you cannot do what you are trying to do.  Restoring the iPhone is what you would have to do.
    In the future, put your music on the computer and transfer it to the iPhone, not the other way.

  • I need one helps  please

    I need one helps I am implementing a tree of navigation of km with java vestibule and have a problem, when I request to him to this that orders with respect to a metadata or reality with any criterion this always takes the folders and it orders them and later it takes the Links and you order them, and the truth that I need that it does not make that distinction single that orders by the metadata that does not take in whatever if it is Link or folder
    here the code goes that I am using to see if to somebody something is happened to him:
    import bean.NavigationTree;
    import com.sapportals.htmlb.TreeNode;
    import com.sapportals.htmlb.enum.ResourceType;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentContext;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    import com.sapportals.portal.prt.component.IPortalComponentResponse;
    import com.sapportals.portal.prt.component.IPortalComponentURI;
    import com.sapportals.portal.prt.session.IUserContext;
    import com.sapportals.portal.security.usermanagement.IUser;
    import com.sapportals.wcm.repository.ICollection;
    import com.sapportals.wcm.repository.IProperty;
    import com.sapportals.wcm.repository.IPropertyName;
    import com.sapportals.wcm.repository.IResource;
    import com.sapportals.wcm.repository.IResourceList;
    import com.sapportals.wcm.repository.PropertyName;
    import com.sapportals.wcm.repository.ResourceContext;
    import com.sapportals.wcm.repository.ResourceException;
    import com.sapportals.wcm.repository.ResourceFactory;
    import com.sapportals.wcm.repository.ResourcePropertyComparator;
    import com.sapportals.wcm.repository.enum.OrderType;
    import com.sapportals.wcm.util.uri.RID;
    //import com.sapportals.wcm.util.usermanagement.WPUMFactory;
    Title:        Navigation in KM repository with DynPage and JSP<br>
    Description:  Basic navigation.<br>
    Copyright:    Copyright (c) 2006<br>
    Company:      AGILE<br>
    @author Juan Solar
    public class Neo extends PageProcessorComponent {
         public DynPage getPage() {
              return new NeoDynPage();
         public class NeoDynPage extends JSPDynPage {
              public String pathInitial = "/documents/eo";
              public String pathDocument = "";
              private String kmNavigation = "";
              private String kmViewDoc = "";
              //          private String pictFolder = "/irj/portalapps/com.sap.portal.pcm.admin.plainfolder_converter/images/folder.gif";
              public IPortalComponentRequest request;
              public IPortalComponentResponse response;
              public IPortalComponentProfile profile;
              private NavigationTree treeBean;
              private IUser user;
              private IResourceList reslist;
              private int nodeCount;
              String TITLE = "TOrder";
              String NAMESPACE = "http://sapportals.com/xmlns/cm";
              String selectedTitle = "";
              public void doInitialization() throws PageException {
                   request = (IPortalComponentRequest) this.getRequest();
                   response = (IPortalComponentResponse) this.getResponse();
                   treeBean = new NavigationTree();
                   IPortalComponentContext myContext = request.getComponentContext();
                   profile = myContext.getProfile();
                   IPortalComponentURI componentURI =
                        request.createPortalComponentURI();
                   componentURI.setContextName("com.sap.km.cm.navigation");
                   kmNavigation = componentURI.toString();
                   componentURI.setContextName("com.sap.km.cm.docs");
                   selectedTitle = "";
                   kmViewDoc = componentURI.toString();
                   nodeCount = 0;
                   try {
                        //               pathInitial = profile.getProperty("pathInitial");
                        //                    user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
                        user = getPortalUser(request);
                        ResourceContext ctxt = new ResourceContext(user);
                        RID rid = RID.getRID(pathInitial);
                        IResource resource =ResourceFactory.getInstance().getResource(rid, ctxt);
                        ICollection collection = (ICollection) resource;
                        reslist = collection.getChildren();
                   } catch (Exception e) {
                        response.write(e.getMessage());
              public void doProcessAfterInput() throws PageException {
              public void doProcessBeforeOutput() throws PageException {
                   TreeNode root = new TreeNode("rootNode", "root");
                   //               List tmp=(List)root;
                   //               Collections.sort(tmp);
                   root.setOpen(true);
                   try {
                        add_node(reslist, root);
                   } catch (ResourceException e) {
                        e.printStackTrace();
                   treeBean.setOutput("");
                   treeBean.setTree(root);
                   // set bean in servlet request - it will be used by the jsp afterwards
                   request.getServletRequest().setAttribute("neoTreeBean", treeBean);
                   this.setJspName("neotree.jsp");
              private String getSelectedTitle() {
                   return selectedTitle;
              //          public String getSelectedTitle(){
              //          Esta es una funcion alternativa para porder cambiar el criterio de ordenamiento del recurso lista
              private void sortResouceList(IResourceList resourceList,String orderBy)     throws Exception {
                   //create property names to index properties
                   IPropertyName iPropSort = new PropertyName("http://sapportals.com/xmlns/cm", orderBy);
                   //             create a comparator to order the resource list
                   ResourcePropertyComparator rRPC =new ResourcePropertyComparator(iPropSort, true);
                   //           order the resource list
                   resourceList.sort(rRPC);
              private String getPropertyValue(IPropertyName iname,IResource resource)throws ResourceException {
                   String value = "";
                   //               String namespace = "http://com.sap.netweaver.bc.rf.sample/xmlns/sample";
                   //               String name = "Order";
                   //               IPropertyName propertyName = new PropertyName(namespace, name);
                   IProperty property = resource.getProperty(iname); //propertyName
                   if (property != null) {
                        // property exists
                        value = property.getValueAsString();
                   } else {
                        // property is not set for this resource
                   return value;
    @param reslist      IResourceList
    @param root         TreeNode
              private void add_node(IResourceList list, TreeNode parentNode)
                   throws ResourceException {
                   //new add_node().doit();
                   String title;
                   String name;
                   String label;
                   String path;
                   IResourceList tmpreslist;
                   ICollection tmpcollection;
                   IPropertyName iProperty;
                   try {
                        sortResouceList(list,"displayname"); //, "Order"
                   } catch (Exception e) {
                        e.printStackTrace();
                   boolean first = true;
                   for (int i = 0; i < list.size(); i++) {
                        IResource tmpres = list.get(i);
                        String     rType= tmpres.getResourceType();
                        iProperty =     new PropertyName("http://sapportals.com/xmlns/cm", "displayname");//, "Order"
                        try {
                             name = tmpres.getName();
                             title = tmpres.getDisplayName();
                             title = (title.equals("") || title == null) ? name : title;
                             path = tmpres.getAccessRID().getPath();
                             if (tmpres.isCollection() && !tmpres.isHidden()) {
                                  tmpcollection = (ICollection) tmpres;
    //                              if (tmpcollection.getChildren().size() > 0) {
                                       TreeNode node =     new TreeNode(Integer.toString(nodeCount++),title,parentNode);
                                       node.setTooltip(name);     //
    //                                   if (order==null || (order!=null && order.equals(""))) {
    //                                        label = "<a class=urLnk href=\"javascript:nada();\" onclick=\"alert('";
    //                                        label ="Folder "node.getText()+" has not set the Order Metadata!! ";               // path;
    //                                        label += "');\">" + node.getText() + "</a>";
    //                                        node.setText(label);
    //                                   } else{
                                            tmpreslist = tmpcollection.getChildren();
                                            add_node(tmpreslist, node);
                             } else {
                                  if (first) {
                                       label =     "<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
                                       label += path;
                                       label += "');\">" + parentNode.getText() + "</a>";
                                       parentNode.setText(label);
                                       first = false;
                                  TreeNode node =     new TreeNode(Integer.toString(nodeCount++),title,parentNode);
                                  node.setTooltip(name);     //
                                  label ="<a class=urLnk href=\"javascript:nada();\" onclick=\"goNavigate('";
                                  label += path;
                                  label += "');\">" + node.getText() + "</a>";
                                  node.setText(label);
                        } catch (Exception ex) {
                             IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
              //          href=\"javascript:void(0)          "<a target=\"itoptarget\"                     href=\""kmViewDocpath+"\"          
    Returns the IUser object.<br><     
    @param request
    @return user
              public IUser getPortalUser(IPortalComponentRequest request) {
                   //               user = WPUMFactory.getServiceUserFactory().getServiceUser("service_user_id");
                   IUserContext uc = request.getUser();
                   user = (IUser) uc.getUser();
                   return user;

    Click here for information. If you can't get the answers emailed to you for some reason(the email may take a few hours to arrive), contact the iTunes Store staff via the link in that article.
    (87419)

  • Iframe redirect javascript help please

    Hi:
    My client uses a loan application on another service's site, and I embedded the form in an iFrame to keep the user on my client's site.
    At the Submit of the form, it redirects to the client's home page, but it does it within the confines of the frame -- I want the redirect to go to the "top" Home page.  Unfortunately, the offsite service cannot apply a target="_top" to the redirect link script.
    The link is http://sequoiapacificmortgage.com/loan-application/
    The service said this:
    "The thank you page after the application and before the redirect URL has a unique URL.
    Is it possible to code your iframe to recognize this URL and redirect the full site to your home page rather than depending on the vLender redirect within the iframe?
    I am including the unique thank you page URL from Lori's website below, the ref_ID attribute is the unique application ID number assigned to my test application (the application ID's are generated using the first 3 letters of the applicant's first name [LYN for Lynsee] and the first 3 letters of the applicant's last name [TES for Testing] followed by the numeric sequence) but you should be able to remove that and have your custom site's code recognize the .php url which would trigger a redirect within your site's code that would take place before our system enacts its redirect to the home page within the iframe.
    (https://www.vlender.com/apps/templates/new_thank_you.php?ref_id=LYNTES998262971)"
    I have seen several references to Javascript to accomplish the desired redirect, but I am not sure how to construct it, nor if it can capture the presence of the mentioned URL to trigger it.
    Can anyone help please?  Thanks much!
    Rgds, Ned

    You are talking about JavaScript - Java and JavaScript are two completely different things. Therefore, this is not the correct area to post that question.

  • Javascript Help Please

    I want to be able to have a combo box to automatically populate a field with a certain phrase or number. I dont know javascript and need some help.
    For example, in "combo box 1"- Cats, Dogs, Hamsters, Fish
    If I chose Cats, "Text1" field should populate "25,000"
    If I chose Dogs, "Text1" field should populate "10,000"
    I know this is a simple custom calculation but still need assistance
    Thanks

    The easiest way is to set the export value of each combo box item to the corresponding numeric value. The calculation simply sets the value of the field to the value of the combo box. In JavaScript, this would be:
    event.value = getField("combo box 1").value;
    If you don't want to set export values fro the combo box items, the custom calculation script could look like:
    (function () {
        // Object to associate combo box items with numbers
        var oVals = {
            "Cats" : "25,000",
            "Dogs" : "10,000",
            "Birds" : "15,000"
        // Set this field value to number associated with item, or blank if missing
        event.value = oVals[getField("combo box 1").value] || "";

Maybe you are looking for

  • SOA server 10.1.3.3 state is FAILED_NOT_RESTARTABLE

    Hi, I just shut down SOA sever as I forgot to start DB service and so console was not coming up. But on shutting down I got the following message - OBJECT DELETED I was clueless as to why I got this and now when I am trying to bring up the server it

  • Cancel process order

    how to cancel process order confirmed in z program i mean details for cqancellation of process order phase wise and operation wise like tables, bapi

  • Where do you find Adobe Premiere Elements 13.1?

    I've spent good part of the day trying to obtain assistance from Adobe to obtain version 13.1 and so far, nobody has helped.  So I will try the forums.  I purchased Adobe Premiere Elements 13 and installed it.  Actual version appears to be "13.0 (201

  • Persistent Crashes

    We're having one of our Power Macs crash Photoshop several times a week. Today it crashed Safari as well. I've gone through some suggestions I got from other similar but not identical questions. I've gone all the way to the trouble of wiping out the

  • EP/NW Proof-of-Concept (POC)

    Aside from SAP Best Practices Baseline Package US V1.470, without having a sap r/3 backend, or non-sap backend (j2ee, etc.) what are our options in building a EP/SR2 proof-of-concept to show EP's functionality for a business case? Thanks. James