File path for AJAX script (in Wordpress)

前端 未结 3 1437
庸人自扰
庸人自扰 2020-12-17 19:21

I use this jquery-ajax script to send email:

    $.ajax({
        url: process.php,    
        type: \"POST\",
        data: data,        
        cache: fa         


        
3条回答
  •  别那么骄傲
    2020-12-17 19:56

    I've solved using the code provided by RRikesh but replacing

    data: data 
    

    with

    data: data + '&action=sendmail'
    

提交回复
热议问题