Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
12-21-2005, 04:58 PM #1
- Join Date
- Nov 2005
- Thanked 0 Times in 0 Posts
passing variables through two pages
I mean say, I am in listedit.aspx page that has this link,
<A ID=onetidListEdit9 target=_self HREF="savetmpl.aspx?List=%7B422F76E7%2DA68C%2D4E4D%2D8B0D%2D2999D918FD34%7D">Save document library as template</A>(listedit.aspx Page URL is
and in the listedit page(the firstpage), I have a TD
<TD class=ms-propertysheet> <a id="onetidGoBack" href="/sites/kishoretestsite/Misc%20Docs/Forms/AllItems.aspx"> Go Back to "Docs Misc"</a> </TD>
with this script, I captured the exact portion I want,
<script> var temp_listname = document.getElementById("onetidGoBack").innerHTML var listname = temp_listname; listname = listname.toString().split('to'); </script>
Now, all I need is to some how pass the listname variable to the next page(savetmpl.aspx) where I can use this variable to get the data I want and display it in the other page which is savetmpl.aspx.