/    Sign up×
Community /Pin to ProfileBookmark

How to show preview of html page in new window

Hi EveryBody,

I want to add a preview of html page feature in my project.
I had created registration form and I need when user click submit button,user should get a
preview of registration form after that further operation will b performed.

Guys just tell me how can i achieved this.
Any clue or sample code so i can learn it and implement in my project.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@DavidBontingJan 29.2012 — just the idea, if you still don't get it I will explain it tomorrow.

this is the action="" page of the first submit
[code=php]
<?php
// first time submit
$name = $_POST['name'];
?>
Name you filled in: <?php echo $name; ?>
<form>
<input type="hidden" name="name" value="<?php echo $name; ?>">
<submit button here>
</form>
[/code]
Copy linkTweet thisAlerts:
@AJAXX195authorJan 31.2012 — Thanks David ?

Dude you used php language,actually i don't know this language.

I am learning adv java so i know jsp,servlet but i am a newbie as well i'm trying to learn javascript on own.

So can we achieve same functionality using language which i know ?

It will b great if u help me ?
Copy linkTweet thisAlerts:
@DavidBontingJan 31.2012 — I'm sorry,

I can't program in the langauges you said.

David
Copy linkTweet thisAlerts:
@AJAXX195authorFeb 04.2012 — Ok David

Thank you
×

Success!

Help @AJAXX195 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 5.28,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...