how to get the value in script values
Answer / 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 |
What is session_start () in php?
What is default session time in php?
What are the differences between procedure-oriented languages and object-oriented languages?
What do you mean by design patterns (php) ?
what is constructor
Tell me how comfortable are you with writing html entirely by hand?
What is var_dump?
Is variable name casesensitive in php?
How to read the entire file into a single string?
What Is a Persistent Cookie?
How to set cookies in PHP?
Which php mvc framework is best?