JS

JS türkçeyi ingiliceye çeviren seo

<script> $(document).ready(function(e) { $("#username").keyup(function() { str = $(this).val(); str =replaceSpecialChars(str); str=str.toLowerCase(); function replaceSpecialChars(str) { var specialChars = [["ş", "s"], ["ğ", ... Read More

JS ile timeout yönetimi

<script type="text/javascript"> var timerActive = true; function startTimer() { var time = '1200'; var start = Date.now(), diff, minutes, seconds; ... Read More

Get URL Variables

Example for URL http://www.example.com/index.html?hello=bonjour&goodevening=bonsoir var hash = getUrlVars(); alert(hash[‘hello’]); // prints ‘bonjour’ alert(hash[‘goodevening’]); // prints ‘bonsoir’ // Read a page's ... Read More