java - How to send data to ActionBean via JavaScript? -


I am playing with strips and I wonder if it is possible to send javascript-generated data to Actionben. To be more specific, when I click on some element on the page with my mouse, after clicking on the tabs: link , I have to return the ID of that element to the actionbane. I have already saved that ID in SS variable id , how do I do it?

Are you using parameterized links?

  & lt; Stries: link id = "mylink" href / beanclass = "..." event = "..." & gt; & Lt; Stries: Ultimate name = "id" value = "some_default_value" /> click on me! & Lt; / Stripes: Links & gt;  

Most possibilities arise: http://mysite.com/...?id=some_default_value , which you will use later in JavaScript Some

Note : The suggestion is unverified.

Edit : On the second thought, why to write some code, just type some javascript "id? =" + Id; at the link's URL address?


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -