Monday, July 15, 2019

Correct Path

1. Correct Path in Html Form

       <form action="../Order_Mas/
       <form action="~/Order_Mas/

2. Correct Path in Jquery or Correct Path in Ajax

      function fun_item_change() {
            $.ajax({
                type: "get",
                url: "../Order_Mas/item_detail",
                data: {
                    GCode: $("#GCode").val(),
                    ICode: $("#ICode").val()
                },
                success: function (data) {
                    //alert(data)

                },
                error: function (data) {
                    alert("error : " + data);
                },
                failed: function (data) {
                    alert("failed : " + data);
                }
            });
        };


3. Correct Path in Script or Correct Path in Js File

      <script src="~/assets/js/jquery.min.js"></script>

4. Correct Path in css file

     <link href="~/assets/css/app.min.css" rel="stylesheet" type="text/css" />

5. Correct Path in Image

     <img src="~/assets/images/flags/us.jpg" alt="user-image" class="mr-1" height="12">

No comments:

Post a Comment

Linq Expression syntax for where condtion in linq

(Expression<Func<T, bool>> filter)