Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › OMG I SO STUCK!!!(Java Script "n" html problem

OMG I SO STUCK!!!(Java Script "n" html problem

Posts 1–12 of 12 · Page 1 of 1
jeremywilms
jeremywilms
OMG I SO STUCK!!!(Java Script "n" html problem
im makeing a java wepage and i wana put a password block on it but i put in the right code and all that stuff and i get a blank page, so i whent to my JavaScript for dummies book and searched and it told me to put in thease codes in

<html>
<head>
<title>PASSWORD ENTrY">
d
<SCRIPT LANGUAGE="JAVASCRIPT"

function displayPassword()[
alert(\nname is ---"> +
docment.entryForm.secret.name +
"\nvalue is --->" +
docment.entryForm.secret.name +
"\ndefaultValue is ---"> +
docment.entryForm.secret.defaultValue)
}

</script>
</head>
<body>
<Br>
<B>password here
</B>

<BR><BR>
<INPUT TYPE="password" NAME="secret" SIZE="15"
VALUE="bofus">
<INPUT TYPE="button" NAME="passwordViewer"
VALU="Push To View" onClick="displayPassword()">
</form>
</body>
</html>



I still get a blank page can enyone see eny problems?????
#1 · 20y ago
iverson954360
[MPGH]iverson954360
u forgot to put a > after "JAVASCRIPT"
#2 · 20y ago
jeremywilms
jeremywilms
...
lol thx!!!!!!!!!!!!!!!
#3 · 20y ago
jeremywilms
jeremywilms
Crap! it still dosnt work now i have

html>
<head>
<title>PASSWORD ENTrY">
d
<html>
<head>

<SCRIPT LANGUAGE="JavaScript">

function displayPassword(){
alert(\nname is ---"> +
docment.entryForm.secret.name +
"\nvalue is --->" +
docment.entryForm.secret.name +
"\ndefaultValue is ---"> +
docment.entryForm.secret.defaultValue)
}

</script>
</head>
<body>
<Br>
<FORM NAME="ddd">
</B>

<BR><BR>
<INPUT TYPE="password" NAME="secret" SIZE="15"
VALUE="bosefus">
<INPUT TYPE="button" NAME="passwordViewer"
VALUE="Push To View" onClick="displayPassword()">
</form>
</body>
</html>
#4 · 20y ago
iverson954360
[MPGH]iverson954360
so did it work? hmm havent worked with html and java in like over year and a half so im kinda rusty
#5 · 20y ago
jeremywilms
jeremywilms
its ok thx for trying enyway
#6 · 20y ago
Jackal
Jackal
Im no HTML whiz, but aren't you missing a < infront of "html>" ?
#7 · 20y ago
iverson954360
[MPGH]iverson954360
try a cap r in entry man i need to get sum html books this summer

yea and wur jackal said
#8 · 20y ago
jeremywilms
jeremywilms
the <html> doesnt realy matter well it does sometimes but not in this case.
#9 · 20y ago
Jackal
Jackal
Well, congratulations anyway. You have succeeded in doing to all forum rules what Leatherface did to people. ...and i thought a triple-post was to be frowned upon. A triple thread.... That's legendary.

Wow.
#10 · 20y ago
Dave84311
[MPGH]Dave84311
You have a stray </b> tag in there... You should probably remove that.

Oh and

<INPUT TYPE="button" NAME="passwordViewer"
VALUE="Push To View" onClick="displayPassword()">

Should be:

<INPUT TYPE="button" NAME="passwordViewer"
VALUE="Push To View" onClick="javascript:displayPassword()">
#11 · 20y ago
Bull3t
Bull3t
You had not ended your <title> tags properly and you had not added the first <form> tag, it should read:

Code:
<html>

<head>
<title>PASSWORD ENTRY"</title>
</head>

<SCRIPT LANGUAGE="JAVASCRIPT">

function displayPassword()[
alert(\nname is ---"> +
docment.entryForm.secret.name +
"\nvalue is --->" +
docment.entryForm.secret.name +
"\ndefaultValue is ---"> +
docment.entryForm.secret.defaultValue)
}

</script>

<body>
<br>
<b>password here</b>

<br><br>
<form>
<INPUT TYPE="password" NAME="secret" SIZE="15"
VALUE="bofus">
<INPUT TYPE="button" NAME="passwordViewer"
VALUE="Push To View" onClick="displayPassword()">
</form>

</body>

</html>
Try that. I got a Javascript error, so something is wrong with your Javascript.
#12 · 20y ago
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

  • Java script hackBy iwanthacks121 in Java
    35Last post 16y ago
  • Html, Java script, can someone help me make a password blocked area??By jeremywilms in Programming
    1Last post 20y ago
  • [TuT] Java script tutorialBy rob7601 in Web Languages
    4Last post 15y ago
  • Java script CC generaterBy cruizrisner in Other Programming
    0Last post 16y ago
  • java script box hackBy undergroundhack in Java
    7Last post 17y ago

Tags for this Thread

None