jQuery 여러개의 Class가 적용된 객체 선택하기
How can I select an element with multiple classes in jQuery?
- without space.
여러개의 클래스가 지정된 객체를 선택하고자 할 때.. 어떻게 해야할까
<span class="a b c">multiple classes</span>
$(".a.b.c").trigger("click")
<span class="a b c">multiple classes</span>
$(".a.b.c").trigger("click")
웹에서 PDF 생성을 위해서 wkhtmltopdf 를 사용했는데 물론 문제는 크게 없었습니다.
그러던 중 서버 환경이 업그레이드 되었습니다.
Windows Server 2008 R2 + IIS 7.5
↓↓
Windows Server 2016 + IIS 10
셋팅 값과 소스 권한등을 그대로 이전해 왔으나 되던게 안됩니다.
딱히 오류가 나지도 않습니다.
서치에 능하신 다른 동료가 구글링에서 해결방법을 찾아서 적용했습니다.
IIS > 응용 프로그램 풀 > 고급 설정 > 프로세스 모델 > 기본 제공 계정 변경
IIS 7.5 에서부터 기본값이 applicationpoolidentity 로 되었다는데
MS Document를 보면
LocalSystem (0)
LocalService (1)
NetworkService (2)
SpecificUser (3)
ApplicationPoolIdentity (4)
LocalSystem이 만랩이네요.
어플리케이션 실행에 문제가 있다면
풀 ID의 기본 제공 계정을 확인해봐야 한다는걸 배웠습니다.
중국내에서 Google map 실행이 안되는 경우 해결 방법
원인은 https 접속이 안되기 때문이고
이 문제는 Google map FAQ에서 해결 방법을 제시해주고 있습니다.
아래 내용은 Google Map FAQ의 일부 발췌한 내용입니다.
Google Maps Platform products are served within China from the domain maps.google.cn. This domain does not support https. When making requests to Google Maps Platform products from China, please replace https://maps.googleapis.com with http://maps.google.cn.
중국에서 https://maps.googleapis.com 접속이 정상적으로 이뤄지지 않기 때문에
http 통신을 해야하고 중국내에서 이용할 수있는 도메인은 http://maps.google.cn
아래와 같이 Google Map API javascript 파일 참조시에 도메인을 변경해줍니다.
<script src="http://maps.google.cn/maps/api/js?key=YOUR_API_KEY"
type="text/javascript">
</script>
내용이 변경될 수 있기 때문에 Google Map FAQ 링크를 함께 남깁니다.