/    Sign up×
Community /Pin to ProfileBookmark

Select box checked

Hi Experts,

I have this problem.
I have a report form. To generate a report user must select to select box

1st Select box is username
2nd Select box is system.

My problem is I want the 2nd select box to be smart enough. Meaning, when I select 1st select box, 2nd select box must check in Database what system available for that username.

Can it be done?

Thanks in advance

Regards
Shaffiq

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@Alon_C_Jul 20.2005 — [B]Look at this example:[/B]
[CODE]
<HTML>
<HEAD>
<TITLE>Alon C. 2005</TITLE>
</HEAD>
<BODY>
<script language=javascript>
<!--
function SysInfo(){

ap= navigator.appName;
vr= navigator.appVersion;
cn= navigator.appCodeName;
ua= navigator.userAgent;
info=ap+'n'+vr+'n'+cn+'n'+ua;
alert(info);
}
//-->
</script>

<input id=i1 type=text value='Type Your name here' onChange="SysInfo()"><br>
<input id=i2 type=text value='System?' OnChange='Manipulation...'>
<!-- And from here you can manipulate -->
</BODY>
</HTML>

[/CODE]
×

Success!

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