koa-oauth-server icon indicating copy to clipboard operation
koa-oauth-server copied to clipboard

Session in jquery

Open SCORPIO12 opened this issue 9 years ago • 0 comments

I try set and get session in jquery . i try this

for(var i=0;i<m.length;i++)
                    {
                        if (m[i] !== null)
                        {
                            master.row.add({
                                " Type": m[i][1],
                                "Frequency": m[i][2],


                            })

                        }                       

                    }
                    $.session.set("Type ", m[i][1]);
                    $.session.set("Frequency ", m[i][2]);

i also add session.js but this show error on console

Uncaught TypeError: Cannot read property 'set' of undefined(…)

SCORPIO12 avatar Oct 26 '16 07:10 SCORPIO12