Possible to call multiple functions within href tag?
JSmydoNov 13 2008 — edited Nov 14 2008Hi
From a report column link I need to do two things:
1 - Submit the current page to save any changes made prior to clicking the link
2 - Navigate to another page
No 1 above is the functionality I need to add as I already have the link redirecting to another page. The problem is that the link on the column gives access to row values via the # notation e.g. #POLICY_ID# and these values can be used to set items on the target page. How can I submit the page prior to this redirect using only the column link? I suppose an option would be to set hidden page items in a javascript function and then pass them in a conditional branch but that seems really clumsy.
I've tried putting a javascript call and the redirect i nthe same '<href=' tag like:
'<a href=”javascript:doSubmit(''SUBMIT''); f?p=&APP_ID.:31:&SESSION.::&DEBUG.::P31_ra_ms_response_id,P31_MINIMUM_STANDARD_ID......'
not surprisingly, this doesn't work.
Any ideas anyone?