struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msg2ajay <msg2a...@gmail.com>
Subject how to forward some action from javascritp
Date Wed, 08 Aug 2007 03:16:58 GMT

hi i have to forward to controller with javascritp my script is as below.

<html>
<head>
 function fwd(field){
 var val=field.value;
     if(val == 1){
        [b]mypage.do[/b] //<----------- this is how i needed
     }  
}
</head>
<body>
<html:select property="myPage" onchange=fwd(this)>
<html:option value="1">one</html:option>
<html:option value="2">one</html:option>
<html:option value="3">one</html:option>
</body>
</html>


thx in Adv
Ajay
-- 
View this message in context: http://www.nabble.com/how-to-forward-some-action-from-javascritp-tf4234069.html#a12046424
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message