(javascript)dynamic value to the variable in src
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_rozario
Posted On:   Friday, July 13, 2007 02:46 AM

Hi talents.. well.. i am new to javascript itself.. i am creating a project in facelet, there i need to use javascript code within my project.. like.. ]]> ]]> like this..... here i want to give a value a to the variable var1 dynamically... that is, based on the first page result, the value ll changed as a (or) b (or) c....... like that.. now i dont know what to do.. please help me.. what should i need to change in my coding.. and how can i give dynamic value to the variable..    More>>

Hi talents..

well.. i am new to javascript itself..

i am creating a project in facelet, there i need to use javascript code within my project..
like..

like this.....

here i want to give a value a to the variable var1 dynamically...

that is, based on the first page result, the value ll changed as a (or) b (or) c....... like that..

now i dont know what to do..

please help me..
what should i need to change in my coding..
and how can i give dynamic value to the variable..

   <<Less

Re: (javascript)dynamic value to the variable in src

Posted By:   Anonymous  
Posted On:   Friday, July 13, 2007 08:48 AM


Use scriptlet ... from Java to Javascript.


...
<%
String param = "";
if(request.getParameter("param")!= null)
{ request.getParameter("param"); }
%>


About | Sitemap | Contact