Autor Thema: questions Java Script ...  (Gelesen 1288 mal)

Offline Toma Bogdan

  • Aktives Mitglied
  • ***
  • Beiträge: 146
  • Geschlecht: Männlich
  • That's me ...
    • A nice site !
questions Java Script ...
« am: 04.12.02 - 11:02:28 »
I have problem with some questions that I found. Can you tell me which response is correct ?

1) If you pretend do the validation in a field when the cursor out it where the best place?

2) If you like the JS validation field function in both environments (Client and Web) where the best event?
Options available:
- Input Validation
- OnBlur
- OnChange,.....

3) If you pretend obtein the rollover effect what do you do?
-( a mix of words where events onMouseOver and onMouseOut is in)

4) What is the sintax in Java Script

5) How HTML source is generated when you see the source code (about the way how is generated the name form if the form name is DominoPrincipal and alias is DP)

6) If you have the JS code in R4.x (defined in HTMLHead....) where do you´ll put this code in R5 version?
(I don´t know)
- JS Header
- HTML Header Contents.
;....
....

7) Which of these best describes the Location object?
1. Contains the URL of a hypertext link
2. Contained by the history object
3. Contained by the document object
4. Contains the URL of the current doc

8) A variable is defined like below. What is x ?
var x = document.forms[0];
- The form object of the current page
- A document object with a form referrer

9) Look at the following function.
function clickButton(){
document.forms[0].submitMe.onClick();
}
What does it do?
- Runs a global JS function called onClick()
- Runs onClick event of the onSubmit object
- Runs a JS function called onClick that is on a form object called submitMe
- Obviously wrong

10) What does the following code do?
onfiltered= "submitMe(this.form);"
- Call the function and pass form object of current page
- Call the function and pass form object of the current button object

11) Which is true of the history object?
- Belongs to window object
- Belongs to document object
- Belongs to location object


Thanks !
« Letzte Änderung: 04.12.02 - 11:03:04 von Toma Bogdan »

Offline Rob Green

  • Freund des Hauses!
  • Gold Platin u.s.w. member:)
  • *****
  • Beiträge: 2.651
  • Geschlecht: Männlich
    • Meipor
Re:questions Java Script ...
« Antwort #1 am: 04.12.02 - 15:09:21 »
@toma, a huge bunch of questions, i could write a book about JS if i would answer you all questions.

So:
1. see below the attached pdf
2. visit LDD and look in the RedBook section and LDD Today
3. visit the LDD Sandbox with many JS examples
4. visit http://www.lotus.com/learningcenters/katlc2.nsf/Javascriptview?openview
5. visit www.codestore.net
6. visit http://www.projectdx.org/index.html
7. visit http://www.notestips.com/

and esp. for JS:
http://developer.netscape.com/docs/manuals/communicator/jsguide4/index.htm
http://hotwired.lycos.com/webmonkey/javascript/tutorials/tutorial1.html
http://www.w3schools.com/js/default.asp (very nice)

hope that helps? nope? well...you asked for it  ;D
« Letzte Änderung: 04.12.02 - 15:10:12 von Rob Green »
Vielleicht verdirbt Geld wirklich den Charakter.
Auf keinen Fall aber macht Mangel an Geld ihn besser.
(John Steinbeck)

Meiporblog: http://www.meipor.de/blog
allg. Unternehmerblog: http://www.m-e-x.de/blog

Offline Toma Bogdan

  • Aktives Mitglied
  • ***
  • Beiträge: 146
  • Geschlecht: Männlich
  • That's me ...
    • A nice site !
Re:questions Java Script ...
« Antwort #2 am: 05.12.02 - 10:19:36 »
ok !
thanks Rob !
I am waittin' a particular responeses (on my questions) ... anyway thanks for these resource links !

regards !

 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz