Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- jsp
- 자바
- 자바스크립트
- html
- Bootstrap
- Apache Lucene
- STS
- decompiler
- TextBox
- Redirect
- Java
- javascript
- 안드로이드
- C#
- 컬럼명
- varags
- scrollView
- 웹 서비스
- Web Service
- asp.net
- SpringSource Tool Suite
- Android
- 이클립스
- WebView
- MSsql
- MANTIS
- Eclipse
- MS-SQL
- 웹뷰
- Maven
Archives
- Today
- Total
bboks.net™
ASP.NET alert 후 redirection 본문
일반적으로 alert 메시지를 보여주고 redirection을 하기 위해서는
<script language=javascript>alert('alert_message');href='link_page.xxx'</script>를 사용한다.
하지만 유독 ASP.NET에서는 스크립트가 먹지 않는다. 해결책은
<script>alert('alert_message');window.location.href='link_page.xxx';</script>
window.location만 붙여줬을뿐인데 잘먹는다 -_-;;