generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: js help

Previous Thread :: Next Thread 
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 03:42 PM
< DOC TYPE = HTML >
< html >
< body >
< body background="http://www.pptbackgrounds.net/uploads/abstract-green-network-powerpoint-backgrounds.jpg" >
< script >
function myFunction () {
pa ss = document.getElementById("pa ss").value;
if (pa ss == "helloworld") {
document.getElementById("title1").innerHTML = "title1";
document.getElementById("name1").innerHTML = "name1";
document.getElementById("name2").innerHTML = "name2";
document.getElementById("name3").innerHTML = "name3";
document.getElementById("name4").innerHTML = "name4";
document.getElementById("name5").innerHTML = "name5";
document.getElementById("title2").innerHTML = "title2";
document.getElementById("name1s).innerHTML = "name1s";
document.getElementById("name2s).innerHTML = "name2s";
document.getElementById("name3s).innerHTML = "name3s";
document.getElementById("name4s).innerHTML = "name4s";
} else {
document.getElementById("title").innerHTML = "Access denied!";
}
< / script >
< input class="pass word" id="pa ss" type="pass word" maxlength="30" required / >
< button type="button" onclick="myFunction()">Enter< /button >
< br >
< font color = blue id="title1" >< / font color = blue >
< br >
< font color = blue id="name1" >< / font color = blue >
< br >
< font color = blue id="name2" >< / font color = blue >
< br >
< font color = blue id="name3" >< / font color = blue >
< br >
< font color = blue id="name4" >< / font color = blue >
< br >
< font color = blue id="name5" >< / font color = blue >
< br >
< font color = red id="title2" >< / font color = red >
< br >
< font color = red id="name1s" >< / font color = red >
< br >
< font color = red id="name2s" >< / font color = red >
< br >
< font color = red id="name3s" >< / font color = red >
< br >
< font color = red id="name4s" >< / font color = red >
< / body >
< / html >
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
21 Dec 2014 03:43 PM
> if (pa ss == "helloworld")

syntax error.

That's your problem.
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 03:46 PM
^
No...
They block the word 'p@ss' (the @ is a 'a')
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
21 Dec 2014 03:46 PM
p@ass?
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 03:47 PM
^
no
its pa ss without the space
Report Abuse
Aalok is not online. Aalok
Joined: 20 Jun 2014
Total Posts: 1136
21 Dec 2014 03:49 PM
place a pastebin
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 04:09 PM
^
I cant.
Roblox forum is too primitive for it.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Dec 2014 04:44 PM
Them elements aren't defined at that time, put them underneath the
'< font color="red" id="name4s" >< /font >'
And:

'document.getElementById("name1s).innerHTML = "name1s";
document.getElementById("name2s).innerHTML = "name2s";
document.getElementById("name3s).innerHTML = "name3s";
document.getElementById("name4s).innerHTML = "name4s";'

Missing end-quotes
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 05:03 PM
k thx
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 05:20 PM
Doesnt work still....
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Dec 2014 05:21 PM
Put what you currently have on pastebin on just give us the ID
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 05:32 PM
[ Content Deleted ]
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
21 Dec 2014 05:47 PM
Didn't read all but you are missing a }
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
21 Dec 2014 05:48 PM
pass

lol
Report Abuse
GodShowsTheWay is not online. GodShowsTheWay
Joined: 27 Oct 2014
Total Posts: 7180
21 Dec 2014 05:52 PM
pass
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
21 Dec 2014 06:14 PM
@3above
where
Report Abuse
gulp78 is not online. gulp78
Joined: 03 Aug 2012
Total Posts: 21
11 Nov 2015 08:53 AM
if this is for a roblox game your using the wrong code for roblox uses LUA while this scirpt use HTML which is only used on browsers
Report Abuse
Dogejia is not online. Dogejia
Joined: 08 Feb 2012
Total Posts: 1873
11 Nov 2015 09:02 AM
@gulp

please get out


Dogemon, gotta pet them all!
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
11 Nov 2015 09:39 AM
@gulp Electron and Firefox OS disagrees with your statement about the use of HTML.
Report Abuse
cpmoderator12345 is not online. cpmoderator12345
Joined: 26 Jan 2013
Total Posts: 15651
11 Nov 2015 01:37 PM
i remember when i was idiotic enough to ask this

OT in a nutshell: https://www.youtube.com/watch?v=KDRAhiBtOrQ
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image