I am new to html coding, but how do i take text put in a textbox made like this:
>1st Number : <input type="text"/>
into a variable? say I ran the script and typed in 4, and had the script subtract that variable from another variable. how could i get that user input into a variable into my script?
You can't code with html you have to use Javascript
>>55595622
How do you do that, because I can cross code
>>55595578
Are you a girl or an indian?
>>55595643
neither
>>55595634
You can easily find the solution with Google. Search for jQuery input value.
HTML doesn't have variables because it isn't a programming language, it's a markup language.
You'll need JavaScript.
Start with Codecademy's HTML/CSS/JavaScript courses then pickup a book for them to study further.
>>55595634
Give the element an id attribute and set it to a variable like this in javascript:var variable = document.getElementById("ElementId");
Or if you're using JQuery:var variable = $('#ElementId');
>>55595578
You need 'id' to identify which textbooks to read from.<input type="text" id="cock" />
<script>
var myCock = document.getElementById('cock').value;
</script>
>>55595897
private long myCock;
>>55595859
that doesn't retrieve value, just the Dom element. ".value" should be added at the end
>>55595909
JavaScript doesn't understand long cock.
>>55595930
Let's be honest OP probably thinks java and javascript are the same thing anyways
>>55595918
My bad, this anon is correct. It would bevar bigFuckingThrobbingCock = document.getElementById("ElementId").value;
>>55595578
Honestly if you have problems with HTML, you need to just kill yourself.171