HighDots Forums  

Aiuto su querystring con valori javascript

Javascript (Italian) Il linguaggio JavaScript (it.comp.lang.javascript)


Discuss Aiuto su querystring con valori javascript in the Javascript (Italian) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
titty
 
Posts: n/a

Default Aiuto su querystring con valori javascript - 01-03-2008 , 10:01 AM






Ciao a tutti
ho la seguente stringa in una pagina html.

Code:
href=javascript:window.location.href='?act=saveFileExcelClosed&SEARCH_DAL=01/11/2007&SEARCH_AL=15/11/2007';

Le date che gli passo io le ho messe fisse per capire se mi funzionava il
giro. E fin qui tutto bene.

Il mio problema è questo:
Quelle due date le ho dentro delle text che si trovano dentro un form xxx.
Ho provato a passargli invece che la data questa stringa:

Code:
document.nomeform.nometext.value

ma non mi funziona, forse la concateno male.

Code:
href=javascript:window.location.href='?act=saveFileExcelClosed&SEARCH_DAL=' + document.nomeform.nometext.value + '&SEARCH_AL=' + document.nomeform.nometext2.value;

un aiuto????

grazie

--
-----------------------------------
http://www.photocri.altervista.org

http://www.photographers.it/free/cristinalamberti


http://cristinalamberti.spaces.live.com/


questo articolo e` stato inviato via web dal servizio gratuito
http://www.newsland.it/news segnala gli abusi ad abuse (AT) newsland (DOT) it



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.