!function(){ // Parameterized the widget $(document).ready(function () { $("#Zone_Widget").MR_ParcelShopPicker({ Target: "#ParcelShopCode", Brand: "BDTEST ", Country: "FR" }); }); }();
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" dir="ltr"> <head> <title>Utilisation du Widget Mondial Relay</title> <!--jQuery--> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> <!-- Widget MR --> <script type="text/javascript" src="https://widget.mondialrelay.com/parcelshop-picker/jquery.plugin.mondialrelay.parcelshoppicker.min.js"></script> </head> <body> <!-- Widget --> <div id="Zone_Widget"></div> <!-- Parcelshop code --> <input type="hidden" id="ParcelShopCode" name="ParcelShopCode" /> </body> </html>