Thursday, September 4, 2014

onClick selected value in input box Java script


i  have div, which has one input box and it generates some values in <ul><li> through ajax, now I wanted to select one of the values from <li> and set it in that input box using simple javascript.

html Code:

  • 1
  • 2
  • 4
  • 4
  • 5

JS Code:


Post a Comment