Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
バリデーション付きの PHP 連絡フォームがあり、エラー/成功メッセージを jQuery 効果で表示したいと考えています。
ありがとう!
このためには、ajaxを使用してフォームデータをサーバーに投稿し、サーバー側の検証とデータベースへの挿入の後、応答をクライアントに送り返す必要があります。
非表示の div を使用して応答を配置し、この div を表示してエラーまたは確認メッセージを表示できます。