Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Go Back   DeveloperBarn Forums > Programming & Scripting > JavaScript Programming

Sponsored Links

Discuss "page transfer" in the JavaScript Programming forum.

JavaScript Programming - Javascript is a cross-browser client-side scripting language. Discuss Javascript and AJAX related scripts here.


Closed Thread
 
LinkBack Thread Tools Display Modes
  #1  
Old April 7th, 2008, 02:10 PM
Barn Frequenter
 
Join Date: Mar 2008
Posts: 197
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
todd2006 is an unknown quantity at this point
Default page transfer

i,

I have a page called one.asp where there are 7 hidden fields which hold values in them

when a user opens up one.asp i want to redirect them to a different page and pass the values in the hidden fields

i dont want to pass the values through querystring which can be visible in the url
is there a way of sending the values to the new page either through javascript or through asp

todd

Last edited by richyrich; May 6th, 2008 at 11:20 AM.
Sponsored Links
  #2  
Old April 7th, 2008, 02:20 PM
jmurrayhead's Avatar
The Barnfather
 
Join Date: Mar 2008
Location: Reston, VA, USA
Posts: 951
Thanks: 22
Thanked 93 Times in 90 Posts
Blog Entries: 6
Rep Power: 4
jmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the roughjmurrayhead is a jewel in the rough

Awards Showcase
Microsoft Windows Microsoft SQL Server Microsoft .Net Classic ASP 
Total Awards: 4

Default

So basically, you're looking for the form to auto submit when they view the page?

Code:
<form method="post" action="pagetotransferto.asp" name="frm">
    <input type='hidden' Value='this is hidden'>
</form>
<script>
document.frm.submit();
</script>

Comments on this post
todd2006 agrees: Thank you
__________________
jmurrayhead
If you agree with me... click the icon!
If my post solved your problem, click the button in the lower right-hand corner of the post.

If you like it here...throw us a few bones to help
support us.

Join our Folding team: DeveloperBarn Folding

  #3  
Old April 7th, 2008, 02:26 PM
Barn Frequenter
 
Join Date: Mar 2008
Posts: 197
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1
todd2006 is an unknown quantity at this point
Default

hi,

thanks for your reply. It works out .

Thank you so much

todd
Closed Thread

  DeveloperBarn Forums > Programming & Scripting > JavaScript Programming

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
go page to page questionaire app peebman2000 .Net Development 3 April 26th, 2008 04:42 PM


All times are GMT -4. The time now is 09:25 AM.



Content Relevant URLs by vBSEO 3.2.0