Jump to content

How to keep values in input fields after page gets refreshed


eldan88

Recommended Posts

Hey,

 

I wanted to know if there is a way to keep text in the input fields if a user hit the refresh button while typing something in a form.

As an example how would I keep the users name in a text field if he enters it and hits the refresh button for this type of code below.

 

<td width="232"><input type="text" id="name" name="name"  value="<?=$name?>" /></td>

 

 

Thanks!

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.