|
| 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 |
|
|
|
| 21 Dec 2014 03:43 PM |
> if (pa ss == "helloworld")
syntax error.
That's your problem. |
|
|
| Report Abuse |
|
|
|
| 21 Dec 2014 03:46 PM |
^ No... They block the word 'p@ss' (the @ is a 'a') |
|
|
| Report Abuse |
|
|
| |
|
|
| 21 Dec 2014 03:47 PM |
^ no its pa ss without the space |
|
|
| Report Abuse |
|
|
Aalok
|
  |
| Joined: 20 Jun 2014 |
| Total Posts: 1136 |
|
| |
|
|
| 21 Dec 2014 04:09 PM |
^ I cant. Roblox forum is too primitive for it. |
|
|
| Report Abuse |
|
|
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 |
|
|
| |
|
| |
|
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 |
|
|
| |
|
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 |
|
|
| |
|
| |
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|