Click here to Skip to main content
15,888,351 members
Home / Discussions / Web Development
   

Web Development

 
Questionread bit value into checkbox in PHP Pin
Jassim Rahma25-Oct-13 2:48
Jassim Rahma25-Oct-13 2:48 
QuestionDynamic Data Scaffolding with static values Pin
vkEE24-Oct-13 9:39
vkEE24-Oct-13 9:39 
QuestionDynamic questionnaire Pin
vkEE24-Oct-13 8:00
vkEE24-Oct-13 8:00 
Questioninc or php for include files? Pin
Jassim Rahma23-Oct-13 23:53
Jassim Rahma23-Oct-13 23:53 
Questionread the text of <select> instead of value Pin
Jassim Rahma23-Oct-13 0:47
Jassim Rahma23-Oct-13 0:47 
Questionadd http to input box Pin
Jassim Rahma23-Oct-13 0:43
Jassim Rahma23-Oct-13 0:43 
QuestionHow To Save Google map as image Pin
Jak Anil22-Oct-13 20:26
Jak Anil22-Oct-13 20:26 
QuestionMultiple Selection Dropdown : Ordered list + JAVASCRIPT Pin
Member 1035161121-Oct-13 23:39
Member 1035161121-Oct-13 23:39 
Hi guys, I want to create an ordered list from a multiple select dropdown list, issue is the select option input provided by html only orders values picked linearly, but I want it ordered according to the order I select them at. So I decided to use some JS to do the trick but wsnt able to hack. Here's the code. Help out please!!

XML
<script language='javascript'>
  function showselection()
  {
    var frm = document.testing
    var opt = frm.testsel

    var numofoptions = opt.length
    var selValue = new Array

    var j = 0
    for (i=0; i<numofoptions; i++)
    {
      if (opt[i].selected === true)
      {
        selValue[j] = opt[i].value
        j++
      }
    }

    selValue = selValue.join("+")

    document.getElementById("txtEditions").innerHTML = selValue
  }
</script>

<form method=POST name='testing'>
  <select name='testsel' multiple onchange='showselection()'>
    <option value="one">one</option>
    <option value="two">two</option>
    <option value="three">three</option>
  </select>
  <textarea id="txtEditions"></textarea>
</form>

AnswerRe: Multiple Selection Dropdown : Ordered list + JAVASCRIPT Pin
Wombaticus22-Oct-13 2:43
Wombaticus22-Oct-13 2:43 
QuestionInteractive coloring page in HTML5 Pin
azjudy21-Oct-13 6:26
azjudy21-Oct-13 6:26 
QuestionScaffolding with Self referential Table in MVC Pin
nooshin21-Oct-13 0:57
nooshin21-Oct-13 0:57 
Questiondatepicker problem Pin
Jassim Rahma20-Oct-13 3:27
Jassim Rahma20-Oct-13 3:27 
Questionbest way to use webservices? Pin
Jassim Rahma19-Oct-13 8:38
Jassim Rahma19-Oct-13 8:38 
AnswerRe: best way to use webservices? Pin
Ali Al Omairi(Abu AlHassan)19-Oct-13 22:03
professionalAli Al Omairi(Abu AlHassan)19-Oct-13 22:03 
GeneralRe: best way to use webservices? Pin
Jassim Rahma20-Oct-13 2:57
Jassim Rahma20-Oct-13 2:57 
GeneralRe: best way to use webservices? Pin
Ali Al Omairi(Abu AlHassan)20-Oct-13 9:41
professionalAli Al Omairi(Abu AlHassan)20-Oct-13 9:41 
Questionwhich <title> is better for SEO Pin
Jassim Rahma19-Oct-13 2:58
Jassim Rahma19-Oct-13 2:58 
AnswerRe: which <title> is better for SEO Pin
thatraja19-Oct-13 3:18
professionalthatraja19-Oct-13 3:18 
JokeRe: which <title> is better for SEO Pin
Paulo Augusto Kunzel4-Nov-13 3:46
professionalPaulo Augusto Kunzel4-Nov-13 3:46 
AnswerRe: which <title> is better for SEO Pin
conecrusher3-Nov-13 20:12
conecrusher3-Nov-13 20:12 
Questionpass null if selected is null Pin
Jassim Rahma18-Oct-13 9:34
Jassim Rahma18-Oct-13 9:34 
Questionquery Pin
Member 1034409318-Oct-13 2:30
Member 1034409318-Oct-13 2:30 
QuestionRe: query Pin
ZurdoDev18-Oct-13 9:17
professionalZurdoDev18-Oct-13 9:17 
AnswerRe: query Pin
Killzone DeathMan9-Jan-14 1:14
Killzone DeathMan9-Jan-14 1:14 
QuestionIs there -ms-transition in the W3C? Pin
conecrusher15-Oct-13 20:05
conecrusher15-Oct-13 20:05 

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.