> June 2013 ~ Online tutorial

change button color in javascript

change button color in javascriptIn the program we will show you How do change button color using javascript .In javascript we are using onmouseover it is used to record mouse move. Source code <html> <head> <script type="text/javascript"> function changeColor(color) { document.getElementById('MyButton').style.background=color; } </script> </head> <body> <p>Move...

How do search word in string using javascript

How do search word in string using javascript In program we will show How do get word from given string using java script.When you are using search keyword it is searching word in the given string if it is found then return 0 otherwise not return any value. Program <html> <head> <script type="text/javascript"> function...

How do get server date using PHP

How do get server date using PHP In this program i will show you how do get server date and time using PHP.In PHP getdate() function is used to get date in server. Program <?php $time = getdate(); $date = $time['day']; $month = $time['month']; $year = $time['year']; $hour = $time['hours']; $min = $time['minutes']; $sec = $time['seconds']; ...