hi,
can we call javascript function from g:paginate tag .
I need to call a javascript function when clicked on next page/number .
I'm using like this but no luck :
g:paginate next="Forward" prev="Back" max="100" maxsteps="15" controller="Links"
action="list" total="${Links.count()}" onclick="return show_waiting();"/>
function show_waiting(){
alert('11111111111');
return true;
}
This is not working . Can any one help me on this ?
thanks.