Click here to Skip to main content
15,915,019 members
Home / Discussions / Web Development
   

Web Development

 
QuestionHTML in in Lotus notes Pin
Gktony23-May-06 4:52
Gktony23-May-06 4:52 
AnswerRe: HTML in in Lotus notes Pin
KrIstOfK23-May-06 20:59
KrIstOfK23-May-06 20:59 
GeneralRe: HTML in in Lotus notes Pin
Gktony23-May-06 22:14
Gktony23-May-06 22:14 
QuestionDelete image in asp.net Pin
hi_arv23-May-06 1:13
hi_arv23-May-06 1:13 
Questionhow to split ......? Pin
jayan meledom23-May-06 1:02
jayan meledom23-May-06 1:02 
AnswerRe: how to split ......? Pin
sathish s23-May-06 2:20
sathish s23-May-06 2:20 
Questionjava script urgently..... Pin
adarsh70722-May-06 20:03
adarsh70722-May-06 20:03 
AnswerRe: java script urgently..... Pin
KrIstOfK22-May-06 21:28
KrIstOfK22-May-06 21:28 
Hi there, a whole lot of code (for once i made an example out of it). You'll see it does work!

<html><head><script language="Javascript">
function go() {
	var optionCounter;
	var smalllist = document.getElementById('smalllist');
	var biglist = document.getElementById('biglist');
	
	var selectedValue = smalllist.options[smalllist.selectedIndex].value;
	
	for(optionCounter = 0; optionCounter < biglist.length; optionCounter++) {
		if(biglist.options[optionCounter].value == selectedValue){
			alert(biglist.options[optionCounter].text + " will be removed");
			biglist.options[optionCounter] = null;
		}
	}
}
</script></head><body><form><table width="100%"><tr><td>
<select id="smalllist" name="smallist" onChange="go()">
	<option value="1">one</option>
	<option value="2">two</option>
	<option value="3">tree</option>
	<option value="4">four</option>
	<option value="5">five</option>
	<option value="6">six</option>
	<option value="7">seven</option>
	<option value="8">eight</option>
	<option value="9">nine</option>
	<option value="10">ten</option>
</select>
</td><td>
<select multiple="multiple" size="4" id="biglist" name="biglist">
	<option value="1">one</option>
	<option value="2">two</option>
	<option value="3">tree</option>
	<option value="4">four</option>
	<option value="5">five</option>
	<option value="6">six</option>
	<option value="7">seven</option>
	<option value="8">eight</option>
	<option value="9">nine</option>
	<option value="10">ten</option>
</select></td></tr></table></form></body></html>

QuestionExecuting EXE File through Java Pin
k.n.ruban22-May-06 18:02
k.n.ruban22-May-06 18:02 
Questionjapan text, ColdFusion and MySQL Pin
progman22-May-06 13:00
progman22-May-06 13:00 
QuestionFrontpage Pin
boldeagle22-May-06 8:52
boldeagle22-May-06 8:52 
QuestionCSS Layout vs. Table Layout Pin
econner22-May-06 5:51
econner22-May-06 5:51 
AnswerRe: CSS Layout vs. Table Layout Pin
Guffa22-May-06 10:09
Guffa22-May-06 10:09 
GeneralRe: CSS Layout vs. Table Layout Pin
econner22-May-06 10:23
econner22-May-06 10:23 
AnswerRe: CSS Layout vs. Table Layout Pin
Guffa22-May-06 11:21
Guffa22-May-06 11:21 
GeneralRe: CSS Layout vs. Table Layout [modified] Pin
NeverHeardOfMe22-May-06 11:36
NeverHeardOfMe22-May-06 11:36 
AnswerRe: CSS Layout vs. Table Layout [modified] Pin
Guffa22-May-06 22:47
Guffa22-May-06 22:47 
AnswerRe: CSS Layout vs. Table Layout Pin
Steve Echols22-May-06 21:16
Steve Echols22-May-06 21:16 
AnswerRe: CSS Layout vs. Table Layout Pin
Guffa22-May-06 22:55
Guffa22-May-06 22:55 
GeneralRe: CSS Layout vs. Table Layout Pin
Steve Echols23-May-06 19:08
Steve Echols23-May-06 19:08 
AnswerRe: CSS Layout vs. Table Layout Pin
Guffa23-May-06 23:58
Guffa23-May-06 23:58 
Questionprint Pin
militiaware22-May-06 2:31
militiaware22-May-06 2:31 
AnswerRe: print Pin
KrIstOfK22-May-06 2:45
KrIstOfK22-May-06 2:45 
QuestionClose Right Click On Flash Pin
mehrdadc4821-May-06 20:53
mehrdadc4821-May-06 20:53 
QuestionPrinting.. Pin
deepaks321-May-06 20:13
deepaks321-May-06 20:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.