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
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\
[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
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;
4 matches
Mail list logo