Re: [PHP] select option and php

2006-07-25 Thread Jochem Maas
weetat wrote: Hi Jay , I am not in the javascript group. 'the javascript group' ?? document.forms['listfrm'].submit; document.forms['listfrm'].submit(); ^^--- i.e. actually call the method -- PHP General Mailing List (http://www.php.net/) To

[PHP] select option and php

2006-07-24 Thread weetat
Hi all , I have a code below : function goToPageSelect($selectname,$totalItems){ $_logger = new Log4jLogger(); $_logger-logdebug(starting ..goToPageSelect()); $_logger-logdebug(starting ..goToPageSelect(), $totalItems); $selecthtml = Go to Page:select name=\$selectname\

RE: [PHP] select option and php

2006-07-24 Thread Jay Blanchard
[snip] It will produce the html tag as shown below: script language=JavaScript function gotoPage(){ var urlpath = ../listflag.php?start=pageID=+3; document.forms['listfrm'].method = 'post'; document.forms['listfrm'].action = urlpath; document.forms['listfrm'].submit; } /script form

Re: [PHP] select option and php

2006-07-24 Thread weetat
Hi Jay , I am not in the javascript group. Btw , i have added document.forms['listfrm'].pageid.value in the page , but the form is not submitted ? var pageid = document.forms['listfrm'].pageid.value; var urlpath = ../listflag.php?start=pageID=+pageid;