locked
Write software to auto fill data to website and get return data form RRS feed

  • Question

  • User-936991428 posted

    http://www.customs.gov.vn/SitePages/ContainerBarcodeReceiver.aspx .
    Its website I need to get data. I must try to input to website row by row:
    0101382443, 300577785340, 01NV, 20/10/2015
    0201276103, 300583445210, 03NK, 23/10/2015
    When I submit info, you will see report page below to print, export. How to do it automatic with Ajax, pls help.

    Monday, October 26, 2015 5:25 AM

Answers

  • User61956409 posted

    Hi lienhe24,

    Welcome to ASP.NET forum.

    You could create a javascript object based on user inputs dynamically.

    var par= {field1:"0101382443", field2:"300577785340", field3:"01NV", field4:"20/10/2015"};

    Then you could pass this javascript object as parameter to web method using jQuery AJAX. And you could create and append html to a container in your web page to implement “report page”. The following links will be helpful.

    http://api.jquery.com/jquery.ajax/

    http://api.jquery.com/append/

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 27, 2015 4:50 AM