Current Status

Actively playing with all possible backend services

14 December, 2009

Disable single quote Within Forms

Javascript:


This is a good method taught to me by my friend to disable

any character in the keyboard Within Forms in your web page/ web application.


<html>

<head>

<script language=javascript type=text/javascript>

<!--

function stopRKey(evt) {


var evt = (evt) ? evt : ((event) ? event : null);

// var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);

alert(evt.keyCode);

if (evt.keyCode == 39 || evt.keyCode == 222) {return false;}

}


document.onkeypress = stopRKey;

-->

</script>

</head>


<body>test

<textarea rows="5"></textarea>

</body>

</html>


Save above code as html and try type single quote(') in test box !

13 December, 2009

Firstday at MSc

Oh studies again..!
My Msc program just started in UCSC. It was really nice seat in UCSC lecturing hall
listing to a lecture after one and half years time..
But one thing i would like to share with you that was pointed out by
VC of UOC at her welcome speech, "You are not STUDENT anymore, you are CANDIDATE of a Masters program. Don’t wait till lectures give you lessons, grab the knowledge you want".

Nice thing was as usually I felt same sleepiness in the first lecture
i attended, however at same time I felt that there is more understanding about practical aspects of lessons than i was an undergraduate.
;)

12 December, 2009

All Google is down all around the world on 10 December 2009

Several users are complaining on Twitter that Google,Blogger, Gmail and other services owned by Google are down.
Google country search sites like www.google.lk and google.co.uk are down too.

I don’t know what affected Google, but whatever it is it must be massive

i hope, Google search become available soon..early as I can’t live without google :)

Some Popular Posts