خرید بک لینک

Vote count: 0

I want to make my all javascript functions exteal. But problem is most of them are having PHP code inside. For Example-

function resend_otp_registration()
                    {
                        var a = 'sample';
                        $.ajax({
                                type:'POST',
                                url:'<?php echo base_url()?>admin/customer/resend_otp_registration',
                                data:
                                {
                                    a:a,
                                },
                                success:function(data)
                                {
                                    if(data==1)
                                    {
                                        alertify.alert("OTP resent on your mobile number.");
                                    }
                                },
                            });
                    }

How can I put this type of JS function in exteal JS file?

asked 1 min ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 28 فروردين 1395 ساعت: 17:07

صفحه بندی