...

View Full Version : Can I reload the page with a Javascript



usban
07-25-2002, 07:12 PM
I'm working with Javascript and PHP i woluld like to know if a can reload the page when i change the vlaue of a Combox.

This would be the Combox and i want something to put in the onChange event.

<select name="select" onChange="">
<option value="admin" selected>Administrador</option>
<option value="profe">Profesor</option>
<option value="alumno">Alumno</option>
</select>

Thank You:confused:

Kevlar
07-25-2002, 07:16 PM
<select name="select" onChange="location.reload()">
<option value="admin" selected>Administrador</option>
<option value="profe">Profesor</option>
<option value="alumno">Alumno</option>
</select>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum