/    Sign up×
Community /Pin to ProfileBookmark

drop down menu code needed

I have been looking all over and cannot find the answer. I need a code to add to this one so I can put check boxes, drop downs and input text in order in the text area as they are selceted, and drop down menu input which I have attemped to add and did not work or messed up the other code. this is in java and self val. thank you so much for any help If you cannot get the order code then that is ok I just really need the drop down more. TY!

<!DOCTYPE html>

<html>
<head>
<meta http-equiv=”content-type” content=”text/html; charset=UTF-8″>
<title> – NOTE GENERATOR 2.0</title>

<script type=’text/javascript’ src=’http://code.jquery.com/jquery-1.7.1.js’></script>

<link rel=”stylesheet” type=”text/css” href=”/css/normalize.css”>
<link rel=”stylesheet” type=”text/css” href=”/css/result-light.css”>

<style type=’text/css’>

</style>

<script type=’text/javascript’>//<![CDATA[
$(window).load(function(){
function updateTextArea() {
var text = “”;
$(‘input[type=checkbox]:checked’).each( function() {
text += $(this).val() + ” “;
});
$(‘input[type=text]’).each( function() {
text += $(this).val() + ” “;
});
$(‘#myTextArea1’).val( text );
}

$(‘input[type=checkbox]’).change(function () {
updateTextArea();
});

});//]]>

</script>

</head>
<body>
<textarea id=”myTextArea1″ name=”update” cols=”85″ rows=”22″>
</textarea>

<form>
<p>??????????
<input type=”checkbox” value=”AAA” /> AAA
<input type=”checkbox” value=”BBB” /> BBB
<input type=”checkbox” value=”CCC” /> CCC
</p>

<form>
</p>

For Quanity<input type=”checkbox” value=”50/” /> 50
<input type=”checkbox” value=”100/” /> 100
<input type=”checkbox” value=”150/” /> 150
<input type=”checkbox” value=”200/” /> 200
<input type=”checkbox” value=”250/” /> 250
<input type=”checkbox” value=”300/” /> 300
<input type=”checkbox” value=”400/” /> 400
<input type=”checkbox” value=”450/” /> 450
<input type=”checkbox” value=”550/” /> 550
<input type=”checkbox” value=”650/” /> 650
<input type=”checkbox” value=”750/” /> 750
<input type=”checkbox” value=”850/” /> 850
<input type=”checkbox” value=”900/” /> 900

</p>
<form>
<p>Days
<input type=”checkbox” value=”30day ” /> 30
<input type=”checkbox” value=”90day ” /> 90
</p>

<form>
<p>

<input type=”checkbox” value=”BBB” /> BBB
<input type=”checkbox” value=”AAA” /> AAA
</p>

<p>
</form>
</p>
<form>
<p>price$

<input type=”text” size=”3″ />
</p>
<p>

<input type=”checkbox” value=”” /> BOOM!
</p>
</body>

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @robertad28 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.10,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...