1
저는 jQuery를 처음 사용하고 페이지로드시 양식이 제출되었는지 감지하고 일부 코드를 구문 분석하는 방법이 있는지 궁금합니다.
<form action="/login/register" method="post">
<input type="text" value="Username" name="regName"/>
<input type="password" value="Password" name="regPass"/>
<input type="submit" value="Register"/>
</form>
과 :
나는이
<?php
if (isset($_POST['regName']))
{
//check inputs and add account
}
?>
을하지만 양식이 jQuery를 통해 제출 된 경우 내가 확인할 수 있는지 궁금 해서요?
감사합니다.
음, 분명히 알았어. 고맙다. – user1169601