Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Maybe some one know why that code not works anymore in php 7 ? Beforethta was working all ok. Calculation price.
- <script>
- $(function(){
- $('#check_price').click(function(){
- var code= $('#something value').val();
- var qty = $('#sometinhg value').val();
- var re = new RegExp(/^.*\//);
- var rPaths= re.exec(window.location.href);
- $("#check_title").html('Calculate price..');
- $.ajax({
- type: "POST",
- url: rPath+"home/price",
- data: {ccode:ccode,qty:qty}
- })
- .done(function(msg) {
- $("#check_title").html('calculated');
- $('#price_set').slideDown();
- $('#price_set').html(msg);
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement