![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
if(confirm('Non hai confermato la tua richiesta di R.M.A. .\nDesideri uscire comunque?') == true ){window.location = "menurma.php"; return false} |
|
Quale può essere la ragione per cui nella function non è possibile emettere la pagina voluta? |
#3
| |||
| |||
|
|
if(confirm('Non hai confermato la tua richiesta di R.M.A. .\nDesideri uscire comunque?') == true ){window.location = "menurma.php"; return false} == true è inutile esplicita href (window.location.href) manca l'else return true Quale può essere la ragione per cui nella function non è possibile emettere la pagina voluta? dipende: come chiami questa function? hai messo un "return tuafunction()" ? |
|
-- "That until there is no longer first class And second class citizens of any nation Until the colour of a man's skin Is of no more significance than the colour of his eyes Me say war" B.M. |
#4
| |||
| |||
|
|
Il codice funziona, seppur con gli errori che hai specificato. |
|
Non succede nulla, o meglio a me sembra, se invece della suddetta stringa nell'evento richiamo la function in questo modo OnClick = "ChiusuraRichRMA()" |
|
function ChiusuraRichRMA(){ window.location.href = "http://localhost/rma/menurma.php"; |
#5
| |||
| |||
|
|
e i return dove sono? Ops! :-( |
![]() |
| Thread Tools | |
| Display Modes | |
| |