Jump to content

use of php with form


alin19

Recommended Posts

can i use something like this, but in stead of javascript to use php?

 

 

<html>

<script language="javascript"  type="text/javascript">

<!--

function test()

{

with (document.forms.form1)

{

reset.disabled=false

}

}

-->

</script>

 

 

 

<body>

<form action="" method="POST" name="form1">

<input type="text" name="nume" value="nume" onchange="test()">

<input type="submit" name="submit" value="submit" onmouseover="test()">

<input type="reset" name="reset" value="reset" disabled=true>

 

</form>

</body>

</html>

Link to comment
https://forums.phpfreaks.com/topic/89085-use-of-php-with-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.