Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

accessing variable from script function

shilpa Aswath
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everybody
I am seriously stuck in accessing variable from script function..
I have hidden fields in one jsp and i am storing value in those inside script function. I want to access these variables in another jsp.

<input id="t" type="hidden" name="temp" value="">
<input id="c" type="hidden" name="count" value="">

<script language="JavaScript" >
function fnOpen(S2, j)

this.form1.temp.value = S2;
this.form1.count.value = j;

In above function how can i access the two variables temp and count in another jsp.
I used request.getparameter(temp) but didnot work.
please help me in solving this
If tomatoes are a fruit, then ketchup must be a jam. Taste this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!