Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to get the value in script values

Answer Posted / p.sivasankar

ex:in java script
function DLEAVEValidate()
{

alert(window.document.getElementById("V_DLEAVE").value);
}

in php:
<form action="welcome.php" method="get">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
Welcome <?php echo $_GET["name"]; ?>.<br />
You are <?php echo $_GET["age"]; ?> years old!
(or)
Welcome <?php echo $_REQUEST["name"]; ?>.<br />
You are <?php echo $_REQUEST["age"]; ?> years old!

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the different between count() and sizeof() in php?

988


What is difference Between PHP 5 and 7?

1189


How to delete file in php?

1032


What is ci in php?

1117


How to Retrieve a Cookie Value?

1305


How to genrate report in wordpress cms

2381


Why php is also called as scripting language?

1022


Tell me how do I escape data before storing it into the database?

1131


Tell me how to get the value of current session id?

999


What is the content of /etc directory?

1060


Can php replace javascript?

1055


What does isset() function?

1019


What is php key?

1012


What is the use of explode() function?

1111


Why php is sometimes called as embedded scripting language?

996