function ff_chk_username_unique(element, action)
{
alert(element.value);
alert(action);
var actiona="http://localhost/myproject/check/check_username.php";
var form_data = {
username: element.value,
};
alert(actiona);
$.ajax({
type: "GET",
url: actiona,
data: form_data,
success: function(response)
{
alert(response)
}
});
} // ff_chk_username_unique
私のajaxファイルのコード...
ファイルはajax内で呼び出されません。
ajaxは正しく定義されていますか?私がそれを解決するのを手伝ってください....