/    Sign up×
Community /Pin to ProfileBookmark

How to create an offline link out of a ‘Next’ button?

Let’s say I have saved page A and B. I can only go to page B if I type in a userID in a box and click the ‘Next’ button under it. No password needed. [B]However, please note that in order to access page A, a user needs to logged in first.[/B]

This is the part I tried to modify in Page A’s source:

[code=html]<TD class=content_title width=”40%”>Input a User ID</TD>
<TD class=content_body><INPUT name=userID></TD></TR>
<TR>
<TD></TD>
<TD><FORM METHOD=”LINK” ACTION=”Page B.htm”><INPUT TYPE=”button” VALUE=”Next” onclick=”window.location=’Page A.htm'”></FORM></TD>[/code]

My question is which part in the source of page A I should modify in order to visit page B just by clicking the ‘Next’ button without even typing a userID? I want this to be done offline, because I am creating a demo version of the website.

Please don’t recommend any software or other ways to solve this. I need to know the code modification. Thank you very much!

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyMay 14.2007 — Well there is no form method "link" you cannot just make things up, so change it to post or get, doesn't matter much if you are not actually submitting anything. Then remove [B]onclick="window.location='Page A.htm'"[/B] and then when you click next you should be taken to page b.
×

Success!

Help @ethanonline spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...