/    Sign up×
Community /Pin to ProfileBookmark

drop down changed

Still learning here.
What i’m try to do is, take two dropdowns side by side with a row of ten. Then try to count how many rows were changed when both dropdown are changed, then count it as 1 value per row. To be displayed in a text box.

[CODE]

<table border=1>
<tr>
<td colspan=2>
<center><input type=”text” name=”” id=”Date” size=”10″></center>
</td>
</tr>
<tr>
<td>
<select size=”1″ onchange=”update()” name=”” id=”PA1″>
<option value=”00″>Select</option>
*<option value=”0″>No Change</option>
</td>
<td
<select size=”1″ onchange=”update()” name=”” id=”PC1″>
*<option value=”00″>Select</option>
<option value=”0″>No Change</option>
</td>
</tr>
<tr>
<td>
<select size=”1″ onchange=”update()” name=”” id=”PA2″>
<option value=”00″>Select</option>
<option value=”0″>No Change</option>
</td>
<td>
<select size=”1″ onchange=”update()” name=”” id=”PC2″>
*<option value=”00″>Select</option>
*<option value=”0″>No Change</option>
</td>
</tr>
<tr>
<td>
<select size=”1″ onchange=”update()” name=”” id=”PA3″>
<option value=”00″>Select</option>
*<option value=”0″>No Change</option>
</td>
<td>
<select size=”1″ onchange=”update()” name=”” id=”PC3″>
*<option value=”00″>Select</option>
*<option value=”0″>No Change</option>
</td>
</tr>
L</table>

[/CODE]

to post a comment
JavaScript

0Be the first to comment 😎

×

Success!

Help @DJScript 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.19,
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,
)...