I have some button already on my page like so
Menu3And from what I have read I should be able to do this:
Menu3But I don't get any response ..... no error message NOTHING. ts[theName] = 12; You should now realize that the only way to let Java/JSP/JSF at the server side pass variables to or execute something at the client side is simply by generating the HTTP response for the client side that way so that the JS action will be taken accordingly. In JS, on the other hand, there are in general three ways to accomplish this: Hopefully it's now all clear what the whole point of "server side" and "client side" is and what their capabilities are. I need favor from you on writing custom ajax supported jsf components. the actual search incorrectly showed my blog between the results). ts[theName] = 38; no. U just saved the day.. with this article.. Try the following example. I just writing simple code to explain the logic. var m=(b-a)/Math.log(x),v=Math.floor(Math.log(i)*m+a) Started JSF 6 months ago Balus, don't know how I'd have managed without your blog. ts[theName] = 4; The page is working properly and takes me to the login page when completed as it should. In JSF the principle is not that much different. ts[theName] = 1; I need to tell her about this tiny ad: current ranch time (not your local time) is, https://coderanch.com/t/730886/filler-advertising. Hi, please check this link Thanks . for(var t in ts){ I just want to to ask how can I send a form to a servlet using javascript?Here's my form: