Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread dusty
Are those nested s:url tags? impressive. $(document).ready(function(){ $("#reallyLongLink").click(function(){ //and to integrate with Struts2 alert(''); }); }); newton.dave wrote: > > Seshagiri V wrote: >> Sorry, >> Required :- >> Some example of c

Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Dave Newton
Seshagiri V wrote: Sorry, Required :- Some example of code in jQuery with events likes as onClick...struts2.0 That's a lot of periods. It's still not clear what you want. In your first message you included a bunch of code and asked for a conversion to jQue

RE: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Seshagiri V
x27;s url to javascript of jQuery.(such as onClick etc events) It's not exactly clear what you're asking If you want to use the url in a javascript, then just assign the generated output to a javascript variable: function myFunc() { var jsVariable = ''; // Do

Re: How to convert struts's url to javascript of jQuery.(such as onClick etc events)

2009-01-27 Thread Nils-Helge Garli Hegvik
It's not exactly clear what you're asking If you want to use the url in a javascript, then just assign the generated output to a javascript variable: function myFunc() { var jsVariable = ''; // Do something with jsVariable functionThatUsesJsVariable(jsVariable); } If that's not what you