양식 페이지의 반복 제출을 피하는 방법
양식이 데이터를 제출하는 많은 웹 사이트에서 사용자가 브라우저의 뒤로 버튼을 통해 양식 제출 이전 페이지로 돌아간 다음 양식을 여러 번 제출하는 상황을 쉽게 접할 수 있습니다.
중복 데이터 제출을 방지하기 위해 JavaScript를 사용하여 웹 페이지의 head 태그에 간단한 코드를 추가하여 브라우저에서 기록 기록을 금지할 수 있습니다.
자
JavaScript:window.history.forward(1);
그런 다음 사용자가 다시 제출하지 못하도록 브라우저에서 이전 페이지의 기록을 기록하지 못하도록 할 수 있습니다.
- 이전의 :
- 다음:캔버스란?
관련 질문
- 2022-08-20 Google은 독창적이지 않은 콘텐츠를 방지하여 검색 결과를 개선하기 위해 노력하고 있습니다.
- 2022-08-16 Microsoft는 9월 13일부터 Internet Explorer 및 EdgeHTML에서 TLS 1.0 및 1.1을 끕니다.
- 2022-08-15 Google은 웹용 읽기: 어린이에게 읽는 방법 가르치기 출시
- 2022-08-14 Ubuntu 22.04 LTS에서 스크린캐스트가 녹화되지 않습니까? 해결 방법은 다음과 같습니다.
- 2022-08-11 이제 Google 검색의 답변 스니펫이 더 높은 품질의 답변을 제공해야 합니다.
당신의 의견
이미 10 회신하다
-
family porno free video 1楼
- Hi there! This post could not be written any better! Reading this post reminds me of my previous room mate! He always kept chatting about this. I will forward this write-up to him. Pretty sure he will have a good read. Many thanks for sharing!
- 发布于 2022/04/12 22:06
-
free porno wc 2楼
- I know this web page presents quality dependent articles and other data, is there any other web site which offers these stuff in quality?
- 发布于 2022/04/04 17:47
-
binary options system strategy page 3楼
- Hi there, I check your blog daily. Your writing style is awesome, keep doing what you're doing!
- 发布于 2022/04/01 03:42
-
free binary options signals providers of goods 4楼
- Having read this I thought it was extremely informative. I appreciate you spending some time and effort to put this content together. I once again find myself spending way too much time both reading and posting comments. But so what, it was still worthwhile!
- 发布于 2022/03/20 12:29
-
binary options strategy 5 minutes 15 min no loss acord 5楼
- Hi there would you mind stating which blog platform you're working with? I'm planning to start my own blog in the near future but I'm having a difficult time selecting between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something unique. P.S My apologies for getting off-topic but I had to ask!
- 发布于 2022/03/20 09:44
-
boss capital binary options 6楼
- Do you have a spam problem on this blog; I also am a blogger, and I was wondering your situation; many of us have developed some nice methods and we are looking to swap techniques with other folks, why not shoot me an e-mail if interested.
- 发布于 2022/03/19 21:20
-
free pics german porno 7楼
- Excellent post. Keep posting such kind of information on your blog. Im really impressed by it. Hey there, You've performed a great job. I'll definitely digg it and in my opinion recommend to my friends. I'm confident they will be benefited from this web site.
- 发布于 2022/03/13 01:02
-
best binary option broker 8楼
- I think this is among the most important info for me. And i am glad reading your article. But wanna remark on few general things, The website style is ideal, the articles is really nice : D. Good job, cheers
- 发布于 2022/03/08 13:33
-
slot online deposit pulsa 9楼
- It's really a great and helpful piece of information. I'm satisfied that you just shared this useful information with us. Please stay us up to date like this. Thank you for sharing.
- 发布于 2022/02/07 10:29
-
clean 9 pack 10楼
- I got this website from my friend who shared with me concerning this website and at the moment this time I am visiting this web page and reading very informative articles or reviews at this place.
- 发布于 2022/01/21 19:00
- 인기 순위
-
- Windows 10에서 Windows 11로 무료로 업그레이드하는 방법
- 양식 페이지의 반복 제출을 피하는 방법
- 약한 형식의 프로그래밍 언어란?
- WordPress에서 PHP 변수를 JavaScript로 전달하는 방법
- 줄 바꿈 표시와 단락 표시의 차이점
- 웹 양식 버튼이 브라우저의 앞으로 및 뒤로 기능을 구현하는 방법
- HTML5 window.postMessage란?
- 테이블 레이아웃이 갑자기 혼란스러워집니다.
- XML 문서 선언이란 무엇입니까?
- 스크립팅 언어란 무엇인가
- PHP가 내 웹 사이트 또는 WordPress에 적합한 지 확인하는 방법은 무엇입니까?
- 정렬되지 않은 목록 ul 태그의 역할
- 동적 페이지에 대한 자동 캐싱의 영향
- 고정과 절대의 차이점은 무엇입니까?
- background-position 속성에 어떤 값을 사용할 수 있습니까?
- 최신 답변
-
-
양식 페이지의 반복 제출을 피하는 방법
family porno free video 회신하다 2022-04-12 22:06:03
-
양식 페이지의 반복 제출을 피하는 방법
free porno wc 회신하다 2022-04-04 17:47:28
-
양식 페이지의 반복 제출을 피하는 방법
binary options system strategy page 회신하다 2022-04-01 03:42:00
-
동적 페이지에 대한 자동 캐싱의 영향
binary options magnet scams elderly 회신하다 2022-03-29 14:06:24
-
PHP가 내 웹 사이트 또는 WordPress에 적합한 지 확인하는 방법은 무엇입니까?
แอพเปลี่ยนรูปเป็นภาพวาด 회신하다 2022-03-27 18:27:12
-