uploadServerUrl
속성에 설정한 업로드 전용 서버쪽 프로그램으로 파일을 전송할때 폼안에 추가 데이터를 함께 보낼 수 있습니다.
데이터의 개수만큼 태그들이 함께 전송 되므로 서버 쪽에서는request.getParameter()
같은 방법으로 해당 값들을 전송한 그대로 얻을 수 있습니다.
$(Selector).IBUpload("extendParamUpload","prop=value&id=value2");
$(Selector).IBUpload("extendParamUpload", "inputName", stringValue);
// 예제 1
$(Selector).IBUpload("extendParamUpload", "userid=user-id10012&content=올해의 신청자료");
아래와 같이 폼 안에 추가되어 전송된다.
<input type="hidden" name="user-id" value="user-id10012">
<input type="hidden" name="content" value="올해의 신청자료 ">
// 예제 2
$(Selector).IBUpload("extendParamUpload","myReq","uestuserid=user-id10012&content=올해의 신청자료");
아래와 같이 폼 안에 추가되어 전송된다.
<input type="hidden" name="myReq" value="uestuserid=user-id10012&content=올해의 신청자료">
version | desc |
---|---|
7.3.0.0 |