The $curid variable in
<select name="estatus" size="1" onChange="resubmit(<?php echo "$nagcurid"; ?> )" tabindex="5"> has a value;
But, when I use the resubmit function:
<script language="JavaScript">
function resubmit(curid)
{
document.myform.action="editar_insti.php?e=true&id=curid";
document.myform.submit();
}
</script>
The page submited doesn't show me the correct values, because the $_GET[id] variable that come from the result of the link editar_insti.php?e=true&id=curid doesn't has value.
Do I have something wrong in this code:
<select name="estatus" size="1" onChange="resubmit()" tabindex="5">
or with this function?:
<script language="JavaScript">
function resubmit()
{
document.myform.action="editar_insti.php";
document.myform.submit();
}
</script>