How to pass Selected text as parameter in Grails -


here gsp code values db

<g:select name="questinset" from="${set}" optionkey="id" optionvalue="name"/>  

i want pass selected item text controller values

def questionset=params.questinset //it shows value 1,2,3,4,5 

i want selected text.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -