Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Skill and Learn - Ask users for input programmatically

#1
Input Tag
Input tag is the most easy way to ask for user input as it can be configured in multiple ways in style and use.
The webmaster can edit the text and how it's showned to the user.

Code:
<input name="text" id="example1" placeholder="http://www.example.com" style="width:100%" spellcheck="false" autocomplete="off">

Code:
What it means?

<input name="text">
Defines the input type

id="example1"
Save the user input as example1.

placeholder="http://www.example.com"
Show http://www.example.com on input until user enter keywords.

style="width:100%"
Expand the input to 100%. To fit in a box, etc.

spellcheck="false"
Disable spellcheck.

autocomplete="off">
Disable autocomplete.

Prompt
Super easy to use and it show a console to the user asking for input.
The webmaster can edit the text and how it's showned to the user.

Code:
var keyword = prompt("Type something to search!\n\nHacxx code.", "");

Code:
What it means?

var keyword
Save any input from the user as keyword var.

prompt("Type something to search!\n\nHacxx code.", "");
Initiate prompt, show the text and if the webmaster want to add text to the input use the last , "");

Note: \n - New line. (Good for styling)
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through