jeudi 24 janvier 2019

Get jade Select box value in NodeJS

Hi I am working on very simple web page made in jade

body
    form(action=path method='post')
        .leftframe
            img

        .rightframe

            table(some options..)
                tr
                    <p>question1

                tr
                    <p>choose your answer
                    select(name = question1)
                        option(value = 'a')
                        option(value = 'b')
                        option(value = 'c')
                        option(value = 'd')
                        option(value = 'e')
                        option(value = 'f')

this is my jade file

and I just want to get the value of select box which is selected with NodeJS

Is there any way to solve this?

I couldn't find the solution and I am asking here..




Aucun commentaire:

Enregistrer un commentaire