Click here to Skip to main content
15,917,645 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Javascript reading INI/XML FIles Pin
Shog920-Feb-08 8:45
sitebuilderShog920-Feb-08 8:45 
Generalpls help asp xml list change Pin
love_man00119-Feb-08 21:25
love_man00119-Feb-08 21:25 
GeneralRe: pls help asp xml list change Pin
Christian Graus20-Feb-08 13:32
protectorChristian Graus20-Feb-08 13:32 
GeneralRe: pls help asp xml list change Pin
love_man00122-Feb-08 0:45
love_man00122-Feb-08 0:45 
GeneralRe: pls help asp xml list change Pin
AlemTurk28-Jun-09 20:35
AlemTurk28-Jun-09 20:35 
QuestionHow to get the last selected item from a multiple dropdownlist with javascript? [modified] Pin
andylaw19-Feb-08 17:09
andylaw19-Feb-08 17:09 
AnswerRe: How to get the latest selected item from a multiple dropdownlist with javascript? Pin
mgr_2k719-Feb-08 19:53
mgr_2k719-Feb-08 19:53 
GeneralRe: How to get the last selected item from a multiple dropdownlist with javascript? [modified] Pin
andylaw20-Feb-08 14:51
andylaw20-Feb-08 14:51 
To:mgr_2k7

Maybe you can't understrand what i mean. Here is a multiple dropdownlist as below:

<select id="sel_test" name="sel_test" size="5" multiple="multiple" onchange="javascript:checkSelectedCount(this);" width="100px"><br />
	<option value="item1">item_A</option><br />
	<option value="item2">item_B</option><br />
	<option value="item3">item_C</option><br />
	<option value="item4">item_D</option><br />
	<option value="item5">item_E</option><br />
	<option value="item6">item_F</option><br />
	<option value="item7">item_G</option><br />
	<option value="item8">item_H</option><br />
	<option value="item9">item_I</option><br />
	<option value="item10">item_J</option><br />
	<option value="item11">item_K</option><br />
	<option value="item12">item_L</option><br />
	<option value="item13">item_M</option><br />
	<option value="item14">item_N</option><br />
	<option value="item15">item_O</option><br />
	<option value="item16">item_P</option><br />
</select>


When user multiple selected as order: item1,item4,item2 -------------item2 is the last selected item
When user multiple selected as order: item2,item3,item1 -------------item1 is the last selected item
When user multiple selected as order: item4,item2,item3 -------------item3 is the last selected item

------------------Understrand????
So,how could i get the last selected item?

One is never too old to learn

modified on Wednesday, February 20, 2008 8:59 PM

GeneralRe: How to get the last selected item from a multiple dropdownlist with javascript? Pin
Nilesh Hapse21-Feb-08 5:10
Nilesh Hapse21-Feb-08 5:10 
QuestionReplacing the CDATA section of a node with a new value using VBScript Pin
Member 450206719-Feb-08 15:28
Member 450206719-Feb-08 15:28 
QuestionC++ and anonymous methods. Pin
edu.net19-Feb-08 14:36
edu.net19-Feb-08 14:36 
GeneralRe: C++ and anonymous methods. Pin
Christian Graus19-Feb-08 15:17
protectorChristian Graus19-Feb-08 15:17 
QuestionHaving trouble with gridview to formview control -- NEWBIE ALERT Pin
SoulfoodOracle19-Feb-08 13:44
SoulfoodOracle19-Feb-08 13:44 
GeneralRe: Having trouble with gridview to formview control -- NEWBIE ALERT Pin
Christian Graus19-Feb-08 15:18
protectorChristian Graus19-Feb-08 15:18 
GeneralProblem with an ASP.NET accessing .net webservices Pin
lu20_2019-Feb-08 10:50
lu20_2019-Feb-08 10:50 
GeneralRe: Problem with an ASP.NET accessing .net webservices Pin
led mike19-Feb-08 11:00
led mike19-Feb-08 11:00 
GeneralRe: Problem with an ASP.NET accessing .net webservices Pin
lu20_2019-Feb-08 16:30
lu20_2019-Feb-08 16:30 
GeneralProblem with Dropdown list display in IE Pin
aubndez19-Feb-08 4:28
aubndez19-Feb-08 4:28 
GeneralRe: Problem with Dropdown list display in IE Pin
Shog920-Feb-08 8:49
sitebuilderShog920-Feb-08 8:49 
QuestionUnable to Open Office Docs from IIS Pin
mgr_2k719-Feb-08 1:05
mgr_2k719-Feb-08 1:05 
GeneralRe: Unable to Open Office Docs from IIS Pin
aubndez19-Feb-08 8:50
aubndez19-Feb-08 8:50 
GeneralRe: Unable to Open Office Docs from IIS Pin
mgr_2k719-Feb-08 17:01
mgr_2k719-Feb-08 17:01 
Questionhow to restrict opening pdf file in browser Pin
vijay_chaudhary18-Feb-08 23:44
vijay_chaudhary18-Feb-08 23:44 
AnswerRe: how to restrict opening pdf file in browser Pin
Mark J. Miller19-Feb-08 8:52
Mark J. Miller19-Feb-08 8:52 
GeneralRe: how to restrict opening pdf file in browser Pin
Lee Weston12-May-08 1:08
Lee Weston12-May-08 1:08 

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.