W3Schools

 

home ANA SAYFA

JS Temel
JS ANA SAYFA
JS Giriş
JS Nasıl
JS Nereye
JS Değişkenler
JS Operatörler
JS Fonksiyonlar
JS Koşul Deyimleri
JS Döngüler
JS Esas Noktalar

JS Referencelar
JS Dizi
JS Boolean
JS Tarih
JS Matematik
JS String
JS HTML DOM

Örnekler/Quizler
JS Temel Örnekler
JS Öz Örnekler
JS DOM Örnekler
JS Quiz

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

JavaScript Öz Nesne Örnekleri

previous next

Burada JavaScript nesneleri oluştururken kullanılan örnekler var.


Note:Bir çok örnek IE 4.0+, Netscape 7+, vaya Opera 7+! gerek duymakta

String Nesnesi

(length() metodu) bir string'teki karakterleri sayar
(indexOf() metodu) eğer string özel metin içeriyorsa test eder
(match() metodu) eğer string özel metin içeriyorsa test eder
Return a specified part of a string (substr() method)
Üst karakterimi veya alt karakterimi? (toLowerCase() and toUpperCase() metodları)

Array Nesnesi

Sayısal parametrelerle dizi yaratmak ve ona veri girmek data to it
Tam bir dizi yaratmak
Dizi- bazı özellikleri ve metodları
Dizi- concat() ve slice()

Date Nesnesi

Bu günün tarihi
Geçerli yerel saat
Tarihi belirle
UTC saati
Bu günün gününü göster
Ay ve gün adıyla tam tarihi göster
Akan saat

Math Nesnesi

(round() metodu) tam sayıya yakın sayıyı yuvarlar
(random() method)'u 0 ile 1 arasında rastgele bir sayı üretir
(random() metodu ve round() metodu) 0-10 arasında bir rastgele sayı üretir
(max() metodu) iki sayıdan büyük olanı bulur
(min() metodu) iki sayıdan küçük olanı bulur
Celsius'tan Fahrenheit'ta çevir
Bir karakteri Unicode'a çevir


previous next

Product Spotlight


Want To Be A Web Master?

If you want to be a Web Master, you will have to host your web site with an ISP (Internet Service Provider).

Founded in 1996 in North Carolina, AIT Inc. provides web hosting and ecommerce services to more than 190,000 domains in 107 countries. Shared, dedicated, and colocated hosting plans for both Linux and Windows users are available along with the industry's most lucrative reseller program. AIT has won acclaim as one of the fastest growing technology companies in North America by Inc. Magazine and by Deloitte & Touche.

AIT Dedicated hosting starts as low as $49.99 per month with No Setup Fee!

All plans include: Unlimited Domains, 1000 Gb Data transfer, FREE 800 24/7 Support, with your choice of operating system, Linux or Windows.

Visit AIT


We Help You For Free. You Can Help Us!


Jump to: Top of Page or HOME or Printer Friendly Printer friendly page


What Others Say About Us

Does the world know about us? Check out these places:

Google  Yahoo  Alta Vista  MSN  Lycos  Excite  Ask Jeeves  HotBot


W3Schools is for training only. We do not warrant the correctness of the content. The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2005 by Refsnes Data. All Rights Reserved.


Validate Validate Validate W3Schools was converted to XHTML in December 1999
SITE SEARCH
 
About W3Schools
Shopping Cart
ASP.NET
Shopping Cart
WEB HOSTING
$15 Domain Name
Registration
Save $20 / year!
UK Domain Names
Web Hosting

Registro de Dominios
Buy UK Domain Names
Register Domain Names
Cheap Domain Names UK
Web Hosting UK
Domain Names UK
Domain Names UK
Quality Web Hosting
Webmail & POP3 Email
Web Hosting UK
Dedicated Servers UK

Web Design UK
Ecommerce Solutions
Register a Domain
Offshore Outsourcing
WEB BUILDING
Website Templates
Website Builder
Flash Templates
Web Templates
Custom Programming
BEST Flash Templates
Website Log Analyzer
XML TOOLS
Stylus Studio
SHOPPING
Home Finance
Shopping UK
UK Wholesalers
UK Wholesale
Sunglasses
Yes Car Credit
Car Finance & Loans
Secured Loans UK
Secured Loans
UK Shops