Nếu thu thập dữ liệu bị ràng buộc là một mảng JavaScript, nhưng nó không tiếp xúc với các phương pháp thêm, phương thức addItem chỉ đơn giản gọi phương pháp thêm tĩnh trên các lớp Array để thêm một bản ghi trống để thu thập dữ liệu: | ic B WILEY timely practical reliable. at Work Building 10 Enterprise Projects Eric A. Smith at Work Building 10 Enterprise Projects Eric Smith Wiley Computer Publishing John Wiley Sons Inc. Publisher Robert Ipsen Editor Theresa Hudson Managing Editor Angela Smith New Media Editor Brian Snapp Text Design Composition John Wiley Composition Services Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where John Wiley Sons Inc. is aware of a claim the product names appear in initial capital or ALL CAPITAL LETTERS. Readers however should contact the appropriate companies for more complete information regarding trademarks and registration. This book is printed on acid-free paper. Copyright 2002 by Eric Smith. All rights reserved. Published by John Wiley Sons Inc. New York Published simultaneously in Canada. No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means electronic mechanical photocopying recording scanning or otherwise except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act without either the prior written permission of the Publisher or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center 222 Rosewood Drive Danvers MA 01923 978 750-8400 fax 978 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department John Wiley Sons Inc. 605 Third Avenue New York NY 10158-0012 212 850-6011 fax 212 850-6008 E-mail PERMREQ@. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in professional services. If professional advice or other expert assistance is required the services of a competent professional person should be sought. Library of Congress Cataloging-in-Publication Data ISBN .