jsp - how to use javascript variable inside scriptlet tag -


i want pass javascript variable scriptlet tag. below code, using scriptlet tags inside jsp page:

    <script>     function concur(look){     alert(look);     <%     string lk=request.getparameter("look");     con.writing("heywow ",lk);%>             </script> 

i want pass value of string 'look' argument function 'writing'.

can tell me how ?

thanks

this question , answers may you. asked me earlier today :)

javascript variable in asp block code

good luck!


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -