Save custom order of an ul     (HTML/Javascript - application)

I created a simple application with HTML and jQuery, in which you can dynamically change the order of an unordered list (via drag'n'drop).
Now I want my application to remember the current order of the list when I close it. When starting the application, the custom order should be loaded.
Is it possible to simply copy the section of the HTML document between <ul> and </ul> to a file when closing?
Thanks in advance for your help!

I created a simple application with HTML and jQuery, in which you can dynamically change the order of an unordered list (via drag'n'drop).
Now I want my application to remember the current order of the list when I close it. When starting the application, the custom order should be loaded.
Is it possible to simply copy the section of the HTML document between <ul> and </ul> to a file when closing?
Thanks in advance for your help!

Similar Messages

  • Not to save customer order if net amount zero

    Dear Gurus,
    I want SAP not to save customer order if net amount  = zero .
    How can I do it by customizing?
    Kind Regards,

    Hi,
    Include VBAK-NETWR field and screen as KKON  in the incompletion procedure in T.Code:OVA2
    Tick the check box IC Dialog while assigning incompletion procedure to sales document type in T.Code: VUA2
    System will nto allow the sales order to save if Net value field is Zero.
    Hope this helps.
    Regards,
    Sharan

  • How to Use Mobile Service in HTML/JavaScript Application

    The Windows Azure Mobile Service is a back end tool for mobile applications. It supports various platforms, such as Windows Store, Windows Phone 8, iOS and Android. The Windows Azure
    Mobile service can also support HTML/JavaScript. This article helps you to get a basic idea of how to use the Windows Azure Mobile Service in HTML/JavaScript applications.
    Let us start with a Quick startup project provided by Microsoft. A Quick startup is a simple demo project that can help us to understand how to use the Windows Azure Mobile Service with HTML/JavaScript. So let's start from the Quick startup project.
    Login into in the Windows Azure portal and use the following procedure.
    This article assumes you already have a Windows Azure account and the mobile service is enabled in your account.
    1. Create a new Windows Azure Mobile Service
    Click on the +New button from the left corner and select Compute -> Mobile Service and then click on the "Create" button.
    The Windows Azure portal popup creates a mobile service wizard when you click the Create button. Windows Azure asks you to enter the mobile service name as shown in the following image:
    Select the database options and region for your mobile service and click on the "Next" button.
    Once your mobile service is successfully created, the portal will show all your mobile services as shown in the following images.
    Ok! We have created a new mobile service successfully. Let's move to our subsequent steps.
    1. Quick startup Project 
    As we all know, the Windows Azure Mobile Service can support many platforms such as Windows Store, Windows Phone 8, iOS, Android and HTML/JavaScript. This article only tells us about the new HTML/JavaScript platform that is recently added to the Windows Azure
    Mobile Service.
    In the image above, we are in the quick startup page where the Windows Azure Mobile Service allows the user to choose their platform. I have selected the HTML/JavaScript Platform.
    In the image above, we found 3 quick steps that can allow us to run <g class="gr_ gr_74 gr-alert gr_gramm Grammar" data-gr-id="74" id="74">a HTML/JavaScript</g> sample project. 
    1. Create Table: In this step the user needs to create a table that can used by the sample project, once you hit the create TodoItem Table button. The Portal will create a TodoItem table in your mobile service. You
    can check this table by clicking on the data tab(menu).
    2. Download and run your app: In this step the user needs to download the Quick startup project that is provided by the Windows Azure portal. Click on the "Download" button and download the project. You will
    see the following files in the quick startup project.
    The Server folder contains some files to setup this project locally. The user should run the file from the server folder corresponding to their OS. I am using Windows OS so I ran the <g class="gr_ gr_80 gr-alert gr_spell ContextualSpelling ins-del multiReplace"
    data-gr-id="80" id="80">lanch</g>-<g class="gr_ gr_79 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="79" id="79">windwos</g> file to setup this project locally in
    IISExpress.
    Press r and enter the key, you will see IISExpress started. Do not close this Windows and open your browser and request the http://localhost:8000/ page.
    Enter the Item name and click on the add button. Your Item will be added to the TodoItem table.
    3. Configure your host name: This step is a very important step for any HTML/JavaScript application that uses the Windows Azure Mobile Service. In this <g class="gr_ gr_83 gr-alert gr_gramm Punctuation only-ins
    replaceWithoutSep" data-gr-id="83" id="83">step</g> the user must register their website name in the Cross-origin resource sharing (CORS). By default, "localhost" is added by the Windows Azure Mobile Service
    so your quick startup project can run without making any CORS setting changes. The user can add their website domain name by clicking on the configure tab (menu).
    The user can add as many website domain names as needed.

    are you asking a question or did you just post a tutorial here? you might want to post it as a blog post or wiki entry instead.

  • Bug in navigateToURL? (AIR HTML/JavaScript) window name parameter not working

    Hi,
    I have to popup the default browser from a HTML/JavaScript application.
    All links on the Air page should be opened in the same tab in the same browser window that was opened by the first click on a link.
    The code I use is
    var urlString = "http://www.adobe.com";
    var request = new air.URLRequest(urlString);
    air.navigateToURL(request, "myNewWindow");
    The myNewWindow parameter does not seem to be taken into account:  a new tab is opened on every click.
    I created a new Air application in Aptana and added the following straightforward code to it:
    <html>
        <head>
            <title>navigateToURLTest</title>
            <script type="text/javascript" src="lib/air/AIRAliases.js"></script>       
        </head>
        <body>   
    <a href="http://www.google.com"
                onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">New Tab</a>
            <br />
            <a href="http://www.adobe.com"
                onclick="javascript:air.navigateToURL(new air.URLRequest('http://www.adobe.com'), 'AirTestWindow');return false;">Same Tab</a>
        </body>
    </html>
    Same problem.
    Does anyone have any idea?
    Thanks

    Is there really nobody who can answer or at least try to reproduce this? 
    It's just creating a new Air HTML/Javascript application with one link with a named window target!

  • Using Actionscript (.as files) libraries in HTML/Javascript code

    I'm trying to make use of the following Asynchronous
    JPEGEncoder encoder.
    http://blog.paranoidferret.com/index.php/2007/12/11/flex-tutorial-an-asynchronous-jpeg-enc oder/
    In my html/javascript application. I've read the link
    http://help.adobe.com/en_US/AIR/1.1/devappshtml/WS5b3ccc516d4fbf351e63e3d118666ade46-7ed9. html
    but it doesn't explain how to use .as files ? or how to form
    .swf files !!
    the original source for the JPEGEncoder contain two files:
    JPEGAsyncCompleteEvent.as and JPEGAsyncEncoder.as
    how to use them in HTML pages ?

    The source is here:
    http://blog.paranoidferret.com/files/Tutorials/Flex/JPEGEncoding/srcview/JpegEncodingTutor ial.zip

  • Reject a customer order and purchase order requisition

    Hi alltogether,
    I have to give a recommendation for the following case:
    user created a customer order with one item and item cat. TAB!
    user created a po with ME57/ME21N and ordered the parts
    user received the parts (with or w/o MIGO, doesn't matter)
    Now the customer rings and does not want the parts anymore.
    User wants to keep the po with the specific number 45xxxxxxxx, because he will receive a supplier invoice with relation to that po number. He also wants to keep the ordered parts in his own stock, means he doesn't want to return to supplier.
    How can we reject the customer order and change the po so that we can post the stock to unrestricted use?
    Thx a lot
    Wolfi.

    Hi,
    Still same Error-Message: "Delete purchase order 45xxx and item 000010 first"
    There is one workaround:
    1.) delete po item (garbage icon)
    2.) reject order item
    3.) change account assignment category in po item to BLANK (was set to M, because of the TAB item in cust. order)
    4.) clear Purch.req and req. item reference in po item line
    5.) save po
    6.) undo deletion of po item (unlock icon)
    Too complicate, isn't it?
    Any other idea?
    Regards
    Wolfi

  • Adobe DPS HTML/Javascript/CSS Web Console: why it is so difficult?

    Why?
    This is the type of question that i can not understand. Is it that difficult to make? Maybe an airpor to Google Chrome Adobe Edge Inspect? I have many files well written with CoffeeScript, that uses RequireJS, that is impossibile to forget a semicolon etc. that works like a charm on Google Chrome (desktop, AND Chrome iPad, AND Chrome Android). That works like a charm in the native iPad/iPhone web browser and in the native Android browser. But it didnt in Adobe DPS. And guess what: i cant find why it doesnt, because Adobe doesnt have a simple Web Console inside DPS / InDesign.
    Is there any news on this field? Because using Adobe Edge Inspect is not a option: my code works inside EI because im browsing the page with my desktop browser. I want to know what is going on inside DPS.
    And my code it is not "soooo" advanced. It is just a simple button with "on touchstart" event listener. Am i doing some stupid error? Fine! Just help me find out what it is, so i can fix it. Because in every single browser i tried, it works. But inside DPS. A sample code? Sure, here you go:
    [Javascript Code]
    Main.prototype.clicks = function() {
            var _this = this;
            $('#btnA').on('touchstart', function(evt) {
              evt.preventDefault();
              _this.buy('productA');
              return false;
            $('#btnB').on('touchstart', function() {
              return _this.buy('productB');
            return $('#clear_data').on('touchstart', function() {
              return _this.clearData();
    [/Javascript Code]
    The Javascript above is being generated by Node.JS compiling a CoffeeScript file. The buttons do work at DPS for iPad, but doesnt on Android. Maybe Android has a problem with 'touchstart'. Maybe jQuery has a problem inside Adobe DPS. But who knows? I dont have a decent web console inspector to check what is going on. Really frustrating.
    Maybe Apple and Google dont give the neccessary hooks to implement the web console? But if you can do the Inspector from the desktop to the device, why not from the device to the desktop? Am i missing something on Edge Inspect? The strange part is: the above code works well on Edge Inspect but doesnt work on Android DPS.
    Sorry if im a little angry or pissed. But this would be really great: a simple web inspector: HTML, Javascript, CSS. A way to inspect the <head> tag of the HTML, what was loaded, in what order. What script is missing, Javascript breakpoints, etc.
    Thank you.

    There is this one little widget called Safari Web Inspector, provided that you're using a Mac: https://developer.apple.com/library/safari/documentation/AppleApplications/Conceptual/Safa ri_Developer_Guide/Introduction/Introduction.html.
    Besides, referring to http://helpx.adobe.com/digital-publishing-suite/kb/create-html-articles-android-viewers.ht ml, you can give window.onappear a try when you are doing JS initialization.

  • Customer Order in MRP

    I created a customer(XD01)
    Account Group: Customer (general)
    created a sales order (VA01)
    Req.delivery date: 24/04/2010
    added the material and saved..... No issues
    Finished product strategy group 10. Run MRP (MD02) and found Customer Order w/ reference to Sales Order I created.
    Now, how to fulfill the order? Req. type is 'Sales from stock' and stock available is Zero. What is the general procedure for creating stock in this scenario?

    Dear ,
    Check the following :
    1.Sales Order should not be blocked -Goto Status Header  or Select the line item and double click -Goto Status -It should be Credit relase.Otherwise , perform VKM3  to release the order
    2.Now while carrying out MD02 , please select the following indicator -
    Process Indicator : NETCH
    Create Purchase Req Indicator : 2 -so that it will create planned order for finsihed good and PR for dependent based on the stock and shortage
    Delivery Schedule Indicator : 1 ( in case if u do no have any delivery schedule )
    MRP List : 3
    Planning Mode : 3
    Lead Time Scheduling Indicator : 2
    Tick the check box : Diplay before Save .  and Execute
    3.Make sure -Finished good should have proper MRP Type -PD,Procurement Type : E   where as dependent should have Procurement Type : F
    Please try and revert back
    Regards
    JH
    Edited by: Jiaul Haque on Mar 27, 2010 7:46 AM

  • Custom order in playlists

    First, please accept my apologies for posting this query twice - I had posted the earlier one without realising it was on the iTunes for Windoze thread. I'm not thinking too clearly just now, so please bear with my error in netiquette.
    Using iTunes 7.6 (29) under MacOSX.4.11, how can I custom order songs in a playlist without amending the underlying "Get Info" panel which contains track numbers, titles etc. etc. Clicking "Sort" on any of the columns I usually have displayed never seems to get the order quite as I'd like it.
    I'm sure it's obvious but I'm afraid I can't find it!
    Thanks in advance.

    D'oh!
    Very many thanks, jere7my, that'll save me some sleepless nights and a good few headaches from banging my malfunctioning head on a brick wall!
    I am most obliged to you.

  • Changing customer address also update customer orders address

    Hi,
    when yoiu create a customer order, the addressnumber of the customer (KNA1-ADRNR) is copied to the order (VBPA-ADRNR). if you change the customer adress (i.e. with VD02), the new address is saved under the same address number. so all orders, which are referencing to the addressnumber are als changed! Sometimes this is ok, but we prefer another behaviout.
    Is it possible to save the new customer addres under a new addressnumber? This wolud have the effect, that the existing customer orders are unchanged and the new address will olny influence new orders in futire.
    Does anybody know a user-exit or customizing for this? perhaps an enhancement?
    Best Regards
    Torsten

    Hi
    No I don't think it, but it can change the address in the sales order in order to restore the old one, so the system will generate a new address number but fir the sales document instead of customer
    Max

  • When to use Flex Or Flash Or HTML-Javascript

    I am Experimenting with Adobe AIR. I know AIR Applications
    can be developed either using Html-Javascript Or Flex Or Flash.
    But can anybody HELP me understand when do i exactly use Flex
    or HTML-JS.
    Well i know one of the reason to use Flex is to build
    RIA's.What are the other Possible reasons ?? can i draw a Decision
    Boundry between them??

    The best reason to choose one tool over the other is that you
    have something working in that language already, and are just
    extending it into the AIR world.
    If you're starting a new project, you then have to balance
    tools you have and know how to use against the strengths of the
    tools. A tool you don't know has to have some pretty compelling
    strengths to make you take the time to learn it, unless you're just
    doing it for fun. If not for fun, the effort has to pay off, yes?
    Very generally speaking, here are the strengths of the tools,
    as I see it.
    For HTML + Javascript, just look at what you see on the web
    today. People are pushing browsers pretty hard these days with web
    apps, so that gives you a good first-order idea of the power of
    this tool set. The AIR environment does give you some more power,
    not just in the AIR APIs, but also in having a single modern
    browser to develop for, so you don't have to limit yourself to IE6
    compatible code. Still, it's not yet the equal of the other tools
    in some areas.
    Flash's main advantage over the others is in applications
    with lots of graphics and animation. The reason for this is purely
    because that's what the Flash authoring environment is geared to
    produce. It's not got a very good ActionScript editor, and as a
    consequence there's a practical limit on how much code you want to
    write in a given project. It's not a question of whether you
    can write a 20,000 line ActionScript program within the
    Flash environment, it's a question of whether it's better done in
    another tool.
    One of the best "other tools" when you end up with lots of
    code is Flex. With the "Builder", you get Ecipse, and without, you
    are presumably using some other worthy programming environment.
    But, you give up the graphic and animation tools from Flash, and
    you give up a lot of the simplicity of HTML + Javascript.
    You can combine them, of course. You could build a whizzy GUI
    control in Flash to use in a Flex application which is hosted
    inside a web page, for instance.

  • Want to make a link in Customer order sample application!

    Want to make a link in Customer order sample application! ( In Reply To : Re: How to send E-mail from customer order sample application ? ) Mar 22, 2004 6:24 AM
    Reply
    Is it possible to make a link for upload files from Excel? ( In Reply To : Re: Error in upload CSV file format ? )
    I apologize again I want to make file upload and download link from excel to HTML DB Oracle , what I've to do in this regard, I want to make in the Customer Sample Application.If you explain in detail and steps than that will be very kind.
    Thanks in advance !

    muhammad--
    i am now more sure that you're asking what i thought you were asking, but i also now see where you might be getting confused. my original answer you your question (referenced above) still stands. i think you're getting confused, though, with the csv output functionality. it's not csv Input...it's csv output. that means it provides a link within your report region to allow users to download the data shown to a local csv document. there is no native functionality w/in htmldb to facilitate the uploading of spreadsheet data into one's application. in my original answer to your question, i said that my answer at the bottom of...
    Bulk Insert, SQL*Loader style
    ...gives you an idea as to one way to enable this in your app.
    hope this helps,
    raj

  • Custom order form with file upload facility

    Hi all,
    I'm trying to create a custom order form(for a printing company) where the user can select their product, enter their credit card details and then upload the file. I've created the combo box & user input text fields. Now what I want is that when user clicks the submit button:
    1. A mail is sent to the admin which contain all the details about the form that was filled by the user.
    2. The file that is uploaded by the user should also be sent as attachment in the same mail. I'm not able to figure out how to add the feature of file upload in ActionScript.
    3. This one is optional, but will add value to me if possible. The website is developed in Wordpress. Can we have a feature where a logged in user can save his order and come again later and retrieve his order form.
    Any help would be appreciated. Thanks for your time.
    Regards,
    Rajeev

    your client is, i believe, legally negligent.  you are probably jointly liable with your client.
    you should try and protect yourself.  you should keep a record that you've informed him that he needs to encrypt all credit card numbers during all phases of transmission but i doubt that will be enough to protect you because you are in a position to know and, will know, that he's not fulfilling his obligations to protect sensitive information.
    you would use the urlloader class to communicate between flash and the server and you will probably use php (another coding language) for the server-side coding.
    you can use google to search for php tutorials and help.

  • User exit: save PM order

    Dear all,
    I'm looking for an user exit that will be actived during order save. However, it seems most exits just for check, I can not change any data.
    The requirement is: if user save certain order, then field function area 'CAUFVD-FUNC_AREA' is filled automatically. This fiels in the order header.
    Thanks,
    Ben

    Hi,
    Orders     
    User Exits     BBPK0001
    Description     Exit for determining the external procurement profile
    User Exits     CNEX0013
    Description     Default item category for component assignment
    User Exits     CNEX0026
    Description     Customer enhancement for general inspection of material
    User Exits     CNEX0027
    Description     Customer enhancement: Plant, storage loc. finding for comp.
    User Exits     CNEX0037
    Description     Check new component
    User Exits     COCCA002
    Description     Customer Functions for Organizational Authorization Checks (SETTLEMENT)
    User Exits     COI20001
    Description     Changing of person found
    User Exits     COI20002
    Description     Alternative procurement of HR availability data
    User Exits     COOM0001
    Description     Customer Functions for Overhead Percentages
    User Exits     COOPA_01
    Description     Customer check modules for internal orders
    User Exits     COOPA002
    Description     Customer function for master data maintenance - internal orders
    User Exits     COOPA003
    Description     User-Defined Fields in the Order Master
    User Exits     COOPA004
    Description     Customer function: Print order master data
    User Exits     COPCP005 (see: 1, )
    Description     Material Costing: User exit for material valuation (strategy U)
    User Exits     CY190001
    Description     Capacity Planning: Change order operation
    User Exits     COZF0001
    Description     Change purchase req. for externally processed operation
    User Exits     COZF0002
    Description     Change purchase req. for externally procured component
    User Exits     CYPP0001
    Description     Change sequence criteria and sequencing
    User Exits     ICSV0001
    Description     Display of geographic location data
    User Exits     ICSV0002
    Description     Automatic task determination for service notifications
    User Exits     ICSV0003
    Description     Partner selection
    User Exits     ICSV0004
    Description     Check PM object and display object information
    User Exits     ICSV0005
    Description     Determining reason for rejection - resource-related billing
    User Exits     ICSV0008
    Description     Validation of additional partner types
    User Exits     IWMI0001
    Description     User exits for SM/PM IDOCs
    User Exits     IWO10001
    Description     Create a PM sub-order
    User Exits     IWO10002
    Description     Customer check for order release
    User Exits     IWO10004
    Description     Customer check for order completion
    User Exits     IWO10005
    Description     Customer specific determination of profit centre
    User Exits     IWO10006
    Description     FCode exclusion through customer enhancement
    User Exits     IWO10007
    Description     Customer enhancement - permits in the order
    User Exits     IWO10008
    Description     Customer enhancement: Determination of tax jurisdiction code
    User Exits     IWO10009
    Description     Customer Check for 'Save' Event
    User Exits     IWO10010
    Description     Customer enhancement for determining WBS element
    User Exits     IWO10011
    Description     Customer enhancement for component selection
    User Exits     IWO10012
    Description     Priority handling on central header
    User Exits     IWO10015
    Description     F4 Help for user fields on operation
    User Exits     IWO10016
    Description     Customer enhancement to check operation user fields
    User Exits     IWO10017
    Description     Determine external order number by customer logic
    User Exits     IWO10018
    Description     User fields on order header
    User Exits     IWO10020
    Description     Automatically include task list
    User Exits     IWO10021
    Description     Automatic task list transfer when creating order from notification
    User Exits     IWO10022
    Description     Determine calendar from user exit
    User Exits     IWO10023
    Description     Service order: Change header data for advance shipment document
    User Exits     IWO10024
    Description     Service order: Changes to items for advance shipment
    User Exits     IWO10025
    Description     Finding responsible cost centre
    User Exits     IWO10026
    Description     User check on setting status 'Do not perform'
    User Exits     IWO10027
    Description     User exit: Generate user-defined settlement rule
    User Exits     IWO10029
    Description     Inclusion of bill of material in PM/SM order
    User Exits     IWO10030
    Description     Predefining the fields for the profitability segment
    User Exits     IWO10031
    Description     Hide personnel number in PM/SM order
    User Exits     IWO10033
    Description     Customer-Specific Authorization Check PM/CS Order
    User Exits     IWO10034
    Description     Operation status based on the status of capacity requirements
    User Exits     IWO20001
    Description     User exit to pass routing/task list to order
    User Exits     IWOC0003
    Description     PM/SM authorization check of ref. object and planner group
    User Exits     M06B0002
    Description     Change communication structure for purchase requisition release
    User Exits     MGA00003
    Description     Material Master (Industry and Retail): Number Display
    User Exits     PPCO0001
    Description     Application development: PP orders
    User Exits     PPCO0005
    Description     Storage location/backflushing when order is created
    User Exits     PPCO0023
    Description     Checks changes to components
    regards,
    Venkatesan Anandan

  • Transform implementation goes wrong when I try transforming a image through script and save the new image using a HTML to canvas plugin.

    Transform implementation goes wrong when I try transforming a image through script and save the new image using a HTML to canvas plugin. The rotation comes up fine, but the origin of the transformation is faulty (compared to other browsers like Chrome & IE)

    A good place to ask advice about web development is at the mozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the mozillaZine forum site in order to post at that forum.

Maybe you are looking for

  • IPod Touch 3G not recognized by Windows 7 (64 bit)

    Like others in this forum, I can't get iTunes 9 to recognize my iTouch (3G). I am using Windows 7 (64 bit) on a brand new Dell computer. I'm not getting any error messages and my computer itself recognizes the iTouch just fine - as a CAMERA! Aside fr

  • Control and redo files I/O linux errors

    Dear all, today, i had receive a call and i had a problem in my production database: Oracle Database 10g Release 10.2.0.1.0 - Production RHEL AS version 4. well, when i try to enter i receive the next message: ORA-01034: ORACLE not available. ORA-271

  • DML,Transactions and index updates

    Hi, Its known adding indexes slows down the DML on the table. i.e. every time table data changes, the index has to be recalculated. What i am trying to understand is whether the index is recalculated as soon as oracle sees the change? To elaborate, l

  • Writing area won't pop up - Digitizer issue

    My heavily used TX screen has a dead area (actually it's on life support). The dead area is the extreme lower right: the icon that expands and hides the writing area. Note that it works fine in landscape mode but that's not my favorite mode of use. M

  • How to install an STK applet on SIM via OTA (over the air)?

    Dear All, What I am trying to do is to load and install an applet by sending (over the air) the same sequence of direct GP apdu commands wrapped in envelope commands. The sequence of direct sequence involves selecting the issuer security domain, init