검색
아하에서 찾은 849건의 질문
- 생활꿀팁생활Q. 자바스크립트 댓글 수정중 선택자 질문여러개의 댓글 중에 특정 하나의 댓글만 수정하려고 하는데요str +="<p id='reply"+i+"'>"+list[i].reply+"</p>";댓글 html은 이렇습니다str +="<button type='button' id='update"+i+"' onclick='update("+list[i].no+")' >수정</button>";update함수에 해당댓글의 번호를 보냅니다function update(no){ var reply =document.getElementById(reply+no).innerText; }댓글은 p 태그안에 있거든요 그래서 아이디가 reply(n번째댓글) 을 표현하려고(reply+no)이렇게 했는데이게 잘못되었나봅다 못읽는다고 오류가 나네요 어떻게 replyN번째 id의 innerText를 가져올 수 있나요
- 생활꿀팁생활Q. 영어 질문 ) 이 경우의 to는 어떤 의미로 사용되었을까요?컨벤션기획사 자격증 시험을 앞 둔 취준생입니다.영어 서신 작성 중 아래의 문장을 만났는데, 두번째줄 의 'to' 가 어떤의미로 쓰였는지 궁금합니다. On behalf of the Organizing Committee, I would like to invite you as our special guest speaker to the ICCA Asia-Pacific Chapter Convention 2014, to be held at COEX convention center in Seoul, Korea from September 15 th to 18 th , 2014.관계대명사도 아니고 주어가 또 다시 언급된 것도 아닌데,, 뭔가 생략이 된 것인지 어떻게 바로 to문장이 시작될 수 있는건지 문법 구조적으로 이해가 잘 되지 않아 질문 드립니다.
- 생활꿀팁생활Q. 판넬 설계와 PLC 프로그램 설계 프로젝트 완료 기간 얼마나 걸려요?전기 판넬 설계와 LS산전 PLC(XG5000) 프로그램 설계 직무입니다. CIMON을 이용해 HMI까지 하고 있습니다. 여러분들은 프로젝트 하나 완료하는데 보통 어느정도 시간이 걸리나요? 직접 배선은 하지 않고 판넬 설계하고 내가 설계한 판넬 I/O를 이용해 프로그램을 만들어요. 물론 금액과 용량에 따라 다르지만 평균적인 수준이 궁금합니다.
- 생활꿀팁생활Q. 아주 간단한 파이썬 프로그래밍 내림차순 질문!안녕하세요! 파이썬 질문이 있어서 이렇게 남깁니다!112123123412345..123..N을 출력하려 합니다.sum=""for i in range(1,N+1): sum=sum+str(i) print(sum)이렇게 하면1) i가 1일때sum=1 출력 /같은 들여쓰기 안에서 print끝났으니다시 for로 돌아가서 i가2 인걸로 돌아가고2) i가 2위 시행에서 이미 sum=1('문자'임)따라서 sum=sum+str(2)='1'+'2'=12'12'print 하고 다시 for i가3인걸로 돌아가서..마지막으로 i=N일때.이미 sum=123456...(N-1)sum=sum+N=123...N 출력 후 종료따라서 초기화 할 필요가 없음그런데 이제123451234123121이거는 range 역순으로 해야 할꺼 같은데..for i in range(N,1,-1): for j in range(1,i): e2=e2+str(j) print(e2) e2=''for je2=e2+str(j)를 통해 e2=123...(i-1) 로 만들고이를 print로 출력***출력 후 다시 for로 돌아가기 전에 e2초기화by 들/여/쓰/기위에서는 한번 시행마다 끝 숫자로된문자열 더하면 되는데, 이건 어떻게 할 수가 없는거 같은데 혹시 도움 주실수 있으실분 계실까요?ㅠㅠ그러니까 질문을 요약하자면 1121231234..내림차순으로 늘어나는거는 위 숫자에 문자열 더하는거만 하면 되서 빈칸으로 환원 안해도 되는데123451234123121이렇게 줄어드는건 환원 말곤 답을 못찾겠습니다 ㅠㅠ
- 무역경제Q. 해외결제 하였는데 이런말이 나오는데?이렇게 메일을 받았는데I can confirm that your order is still pending. When your order was placed, payment was authorised but not captured. This authorisation has now expired. When your order is released, payment with then be reauthorised and if successful payment will then be captured and your order dispatched.Please accept my apologies for any confusion caused by the preauthorisation payment process.Should you have any further questions, please do not hesitate to contact us. 이해가 안되서요ㅠㅠ 제가 비자 체크카드로 해외 결제를 했는데 며칠후에 재입금이 된 상황입니다..
- 생활꿀팁생활Q. 자바프로그래밍 밑에 문제에 대한 코드좀 알려주세요설명¨Scanner를 이용하여 한 라인을 읽고, 공백으로 분리된 어절이 몇 개 들어있는지 “그만”을 입력할 때까지 반복하는 프로그램을 작성하라.¤StringTokenizer클래스를 이용하여 작성하라.¤Scanner.nextLine()을 이용하면 빈칸을 포함하여 한 번에 한 줄을 읽을 수 있다.입력어떤 특정 문장을 입력 받는다.ex)>>I love Java.>>자바는 객체 지향 언어로서 매우 좋은 언어이다.>>그만.출력해당 문장이 입력되면 각 문장의 어절 개수를 출력한다.ex)어절 개수는 3어절 개수는 7종료합니다...예시 입력 1 >>I love Java. >>자바는 객체 지향 언어로서 매우 좋은 언어이다. >>그만예시 출력 1어절 개수는 3 어절 개수는 7 종료합니다...힌트StringTokenizer st = new StringTokenizer(s, " ");System.out.println("어절 개수는 " +st.countTokens());
- 피부과의료상담Q. 치간칫솔은 어떤걸 쓰는게 좋을까요? 또 적절한 사용법 알고싶습니다.안녕하세요.L자형 치간칫솔과 I자형 치간칫솔중 사용자가 편한것을 쓰면되나요?또한 굵기도 천차만별인데 어떤걸 써야 적절히 잘 사용할수있을까요?치간칫솔에는 치약을 사용하지 않아도 된다고하는데 치약을 사용하는게 더 위생적이지 않나요?이유가 궁금합니다.전문가님들의 답변 기다리겠습니다.감사합니다.
- 생활꿀팁생활Q. (C언어)struct 함수 주소 보는법struct A{ char b; int i;}b랑 i 의 주소 보는 방법이 있을까요??그리고 struct 함수와 구조체에 대해서 쉽게 설명해 주시면 감사하겠습니다!&연산자 이용하려고했는데 어렵네요ㅜ
- 저축성 보험보험Q. CI 보험 해지하는게 나을까요?2013년 가입한 생명사 C.I 보험 16만원씩 내고 있습니다. 20년납이고 환급형입니다. 현재까지 13500000원 정도 하였고현재 해지시 9백만원 정도 주는데 해지하는게 맞을까요? 아니면 12년 정도 보험료 더 내고 17년뒤 100프로 환급받는게 나을까요? 건강보험으로 쓰기에는 보장이 너무 안되는 보험이라 새로 보험은 가입해야 하는 상황입니다
- 생활꿀팁생활Q. 자바 이클립스 에러 질문드려요자꾸 이런 에러가 뜨면서 실행이 되지 않습니다.환경설정 환경변수는 모두 제대로 설정했습니다. 뭐가 문제고 어떻게 해야할까요.. 시험기간인데 큰일이에요아래는 코드 전문입니다.package lab6; import java.util.ArrayList; import java.util.Date; import java.util.Scanner; class Staff extends Person{ private int staffID; private String dept; private Date dateHired; public static ArrayList<Staff> staffs = new ArrayList<>(); Staff(String n, String p, String d){ super(n, p); dept = d; } void printInfo() { super.printInfo(); System.out.println("staff id : " + staffID); System.out.println("DATE Hired : " + dateHired); System.out.println("dept : " + dept); } } class Customer extends Person { // Atrributes private int customerID; private String driverLicense; public static ArrayList<Customer> customers = new ArrayList<>(); // Operations Customer(String n, String p, String license) { super(n , p); driverLicense = license; } @Override public void printInfo() { super.printInfo(); System.out.println("customer ID : " + customerID); System.out.println("driverLicense : " + driverLicense); } } class Person { Scanner sc = new Scanner(System.in); // Attributes private int personID; private String name; private String phone; private static ArrayList<Person> persons = new ArrayList<>(); // Operations Person(String n, String p) { // Constructor n : name, p : phone this.name = n; this.phone = p; } void printInfo() { // System.out.println("person ID : " + personID); System.out.println("name : " + name); System.out.println("phone number : " + phone); } protected static void addPerson(Person p) { persons.add(p); // add the instance of Person that received as parameter } protected static Boolean deletePerson(Person p) { if (persons.isEmpty()) return false; else { persons.remove(p); return true; } } public void printAllPersons() { if (persons.isEmpty()) System.out.println("ArrayList<Person> persons are empty now"); else { for (int i = 0; i < persons.size(); i++) // print all the elements in ArrayList<Person> persons. Using // printInfo in ArrayList element persons.get(i).printInfo(); } } public class lab6 { public static void main(String[] args) { Customer customer1 = new Customer("heewon", "010-2323-9121", "da-2501"); Customer customer2 = new Customer("jiwon", "010-1111-1111", "da-2502"); Customer customer3 = new Customer("jisu", "010-4563-1243", "da-2503"); Customer.customers.add(customer1); Customer.customers.add(customer2); Customer.customers.add(customer3); Staff staff1 = new Staff("heesu", "010-2828-2828", "100000 won"); Staff staff2 = new Staff("jisun", "010-2213-2512", "1200000 won"); Staff staff3 = new Staff("mimin", "010-2828-1232", "400000 won"); Staff.staffs.add(staff1); Staff.staffs.add(staff2); Staff.staffs.add(staff3); }