16,018,394 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Rupanjana (Top 6 by date)
Rupanjana
1-Dec-11 2:29am
View
I want to pass value one HTML page to another HTML page and also want to show the value in second page.How it can be possible?Tell me the way.Please..
Rupanjana
22-Nov-11 6:29am
View
The first form store the value in name_fst and name_lst variable but not showing anything on the second page which is called sec.htm..
Please help to to find the solution.
Rupanjana
22-Nov-11 5:34am
View
I tried with the following HTML code:
For the first page
<html>
<head></head>
<body>
<p align="center"><img border ="0" src="C:\Documents and Settings\pawan\My Documents\My Pictures\header-bg.png" hieght="100" width="100"/>
GenSet
</p>
<form name="frm" action="sec.htm">
<table><tr><td>Enter First Name :</td><td><input type="text" name="t1" /></td><tr>
<tr><td>Enter Second Name :</td><td><input type="text" name="t2" /></td><tr>
<tr><td align="center" colspan="2"><input type="button" name="b1" value="Next Page" / önClick="location.href='sec.htm?name_fst='+document.frm.t1.value+'&name_lst='+document.frm.t2.value"></td><tr>
</table>
</form>
</body>
</html>
The HTML Code for the second page is
<html>
<head>
<script language="javascript">
function display()
{
origurl=document.URL;
name_fst=origurl.substring(origurl.IndexOf("name_fst")+9,origurl.IndexOf('&'));
name_lst=origurl.substring(origurl.IndexOf("name_lst")+9,origurl.length)l;
document.Write("Welcome "+name_lst+", "+name_fst);
}
</script>
</head>
<body önLoad="javascript:display();">
</body>
</html>
Rupanjana
22-Nov-11 5:32am
View
Deleted
I tried with the following HTML:
<html>
<head></head>
<body>
<img border="0" src="C:\My Pictures\header-bg.png" hieght="100" width="100" />GenSet
<form name="frm" action="sec.htm">
Enter First Name : <input type="text" name="t1" />
Enter Second Name : <input type="text" name="t2" />
</form>
</body>
</html>
And the Second page HTML code as follows:
<html>
<head>
<script language="javascript">
function display()
{
origurl=document.URL;
name_fst=origurl.substring(origurl.IndexOf("name_fst")+9,origurl.IndexOf('&'));
name_lst=origurl.substring(origurl.IndexOf("name_lst")+9,origurl.length)l;
document.Write("Welcome "+name_lst+", "+name_fst);
}
</script>
</head>
<body önload = "display();">
</body>
</html>
Second does not display anything.Please help me..
Rupanjana
2-Nov-11 6:52am
View
Just now i tried the code in my web page.it shows a compilation error that is:The name 'bytes' does not exist in the current context
What will be the solution?
Rupanjana
2-Nov-11 6:45am
View
If the Url is http://www.myApp.co/common/work/sample.pdf
then what should I take as a filename.
then the solution will be same?
Show More