salut,

nu imi iese o chestie: trebuie sa fac un cod in javascript care sa fie 
rulat automat intr-o anume pagina de web si care sa forteze un reload al 
paginii respective astfel incat la reload, variabila respectiva sa poata 
fi vazuta ca o variabila post. ceva ce genul:

<html>
<body>
text html aici...
<script type="text/javascript">

function reload(k)
{
  // ?? cum fac aici?

  // asta face reload, dar cum ii pasez X?
  crt_page = location.href
  location.href = crt_page
}

if (// cum pun conditia sa vad daca variabila x pasata prin POST exista?)
{
        // first run
        x = 10;
        reload(x);
}
else
{
        alert('x = ' + x);
}
</script>
</body>
</html>

am neaparata nevoie sa fac cu post, cu get nu mi-e de nici un folos. totul 
trebuie sa se intample automat

Mersi


--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui