Friday, October 17, 2008

70% Addicted

After long time this Friday I am free relatively (what a funny useful word which I used today for random works with manager). So I was doing random browsing, reading friends blogs as usual and ended up taking this quiz where Kris scored 80%.

Though I am not a regular blogger but it resulted into my addiction of 70% to blogging arena.

70%How Addicted to Blogging Are You?


By the way another funny thing got my attention there is that you can make your result anything by just putting any number after score in this link.

http://www.oneplusyou.com/bb/blog_addiction?score=120 (It will result in 120% ;-))

By the way that 70% is actual result after answering all the 14 questions.

Tuesday, September 02, 2008

Rocking All the Way

Last time I featured Taare Zameen Par in this blog as I liked it very much and this time its Rock On!!. Written and Directed by Abhishek Kapoor, Music by Shankar Ehsaan Loy. In first thought lyrics are undigestible but then it flows very well with the movie and strengthens the grip. And yeah these lyrics are unbelievably written by Javed Akhtar and mostly sung by Farhan Akhtar.

Its a story of college friends, flashing between 10 yrs back where they wanted to make it big with their musical band 'Magik' and current situation where they all are somewhat settled with pseudo careers due to after effects of 10 yrs back with concealed desire and eventual fate of making it again.


It was always an experience to watch Farhan Akhtar's movie like Dil Chahta Hain and Lakshya. This time also Farhan as Adi makes an acting impact in his debut movie along with well known TV actress Prachi Desai(Sakshi). Arjun Rampal(Joe) is quite good in performing a helpless guy stuck with 360 degree situational problems. Koel Pourie(Devika) and Luke Kenny(Rob) are balancing good with their part. Purab Kohli(KD) is too good with young at heart performance. Shahana Goswami(Joe's wife) comes out with an outstanding performance throughout the movie.


The story is very predictable at each moment but still keeps an anticipating grip altogether with good performances and direction. Aashiqui's song on Garba night to collect money for instruments and Purab Kohli's jolly dance creates hilarious waves. The good things are no unwanted scenes, no dumb incidents, no exotic locales, no cleavages, no grand affairs or flamboyance which keeps it down to earth and realistic.


Beginning to end, its a Rocking movie.


P.S.: Best Part: "Do not download the music" Buy the CD.

Friday, August 22, 2008

Horses Keep Distance


This again captured by friend Siddhesh Rane in Pune only.

Tuesday, August 19, 2008

Little Crack Little Broken


It seems that "Little crack, Little broken but running all the way in Pune".

Just got behind a bus in Pune captured by my friend Siddhesh.

Wednesday, July 09, 2008

Dynamically Adding and Removing Text Boxes using JavaScript

After many days I was just trying to work with PHP, MySQL and JavaScript yesterday. In one of the page I wanted to add/remove text boxes on demand (or say dynamically) so after much thought and search i found the solution in using JavaScript. Here is the sample of code which I used for my purpose and may also be beneficial for you web developers who wanted to add or remove text boxes dynamically.

It simply uses two functions:
addElement(): It first gets the element id where we want to include a new element followed by creation of new element and appending it inside the element.
removeElement(): It removes the last added new element.

<html>
<head>
<title>Adding and Removing Text Boxes Dynamically</title>
<script type="text/javascript">
var intTextBox=0;

//FUNCTION TO ADD TEXT BOX ELEMENT
function addElement()
{
intTextBox = intTextBox + 1;
var contentID = document.getElementById('content');
var newTBDiv = document.createElement('div');
newTBDiv.setAttribute('id','strText'+intTextBox);
newTBDiv.innerHTML = "Text "+intTextBox+": <input type='text' id='" + intTextBox + "' name='" + intTextBox + "'/>";
contentID.appendChild(newTBDiv);
}

//FUNCTION TO REMOVE TEXT BOX ELEMENT
function removeElement()
{
if(intTextBox != 0)
{
var contentID = document.getElementById('content');
contentID.removeChild(document.getElementById('strText'+intTextBox));
intTextBox = intTextBox-1;
}
}
</script>
</head>
<body>
<p>Demo of Adding and Removing Text Box Dynamically using JavaScript</p>
<p><a href="javascript:addElement();" >Add</a> <a href="javascript:removeElement();" >Remove</a></p>
<div id="content"></div>
</body>
</html>


Just drop me a comment if you have any suggestion, comments or query.