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 unsub

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; document.forms['listfrm'].

RE: [PHP] select option and php

2006-07-24 Thread Jay Blanchard
[snip] It will produce the html tag as shown below: function gotoPage(){ var urlpath = "../listflag.php?start=&pageID="+3; document.forms['listfrm'].method = 'post'; document.forms['listfrm'].action = urlpath; document.forms['listfrm'].submit; } Go to Page: 1 2 3 4 5 I tri

[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:class=\"inputfield\" onchange=\"