Ajax in Oracle JDeveloper.pdf

(20973 KB) Pobierz
15772213 UNPDF
15772213.015.png
Ajax in Oracle JDeveloper
15772213.016.png 15772213.017.png 15772213.018.png 15772213.001.png 15772213.002.png 15772213.003.png
Deepak Vohra
Ajax in Oracle JDeveloper
123
15772213.004.png 15772213.005.png 15772213.006.png 15772213.007.png 15772213.008.png 15772213.009.png
ISBN 978-3-540-77595-9
e-ISBN 978-3-540-77596-6
DOI 10.1007/978-3-540-77596-6
Library of Congress Control Number: 2008921926
© 2008 Springer-Verlag Berlin Heidelberg
This work is subject to copyright. All rights are reserved, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting,
reproduction on microfilm or in any other way, and storage in data banks. Duplication of this publication
or parts thereof is permitted only under the provisions of the German Copyright Law of September 9,
1965, in its current version, and permission for use must always be obtained from Springer. Violations
are liable to prosecution under the German Copyright Law.
The use of general descriptive names, registered names, trademarks, etc. in this publication does not imply,
even in the absence of a specific statement, that such names are exempt from the relevant protective laws
and regulations and therefore free for general use.
Cover Design: KünkelLopka, Heidelberg
Printed on acid-free paper
987654321
springer.com
15772213.010.png 15772213.011.png 15772213.012.png 15772213.013.png 15772213.014.png
Contents
Preface ....................................................................................................... V
Motivation for this Book ....................................................................... V
Who Should Read this Book?...............................................................VI
Outline to the Book Structure ............................................................. VII
Prerequisite Skills .............................................................................. VIII
Acknowledgements ........................................................................... VIII
About the Author ..................................................................................IX
Contents ................................................................................................... XI
1 What is Ajax? .......................................................................................... 1
1.1 Introduction ...................................................................................... 1
1.2 What is XMLHttpRequest? .............................................................. 2
1.3 XMLHttpRequest Object Properties................................................. 2
1.3.1 The readyState Property ............................................................ 3
1.3.2 The onreadystatechange Property.............................................. 3
1.3.3 The responseText Property ........................................................ 3
1.3.4 The responseXML Property ...................................................... 4
1.3.5 The status Property .................................................................... 4
1.3.6 The statusText Property............................................................. 4
1.4 XMLHttpRequest Object Methods................................................... 5
1.4.1 The abort() Method.................................................................... 5
1.4.2 The open() Method .................................................................... 5
1.4.3 The send() Method..................................................................... 5
1.4.4 The setRequestHeader() Method ............................................... 6
1.4.5 The getResponseHeader() Method ............................................ 6
1.4.6 The getAllResponseHeaders() Method...................................... 6
1.5 Sending an Ajax Request.................................................................. 7
1.6 Processing an Ajax Request.............................................................. 8
1.7 JDeveloper Integrated JavaScript Editor ........................................ 10
1.8 Summary......................................................................................... 17
Zgłoś jeśli naruszono regulamin