|
<script> function setValues2ConfiForm(link) { var params = ['mytext', 'another']; var vals = new Array(); var idx = 0; AJS.$(link).closest('td').siblings().each(function() { vals[idx++] = AJS.$(this).text(); }); var formParams = ''; for (i=0;i<params.length;i++) { formParams = formParams + params[i] + ':' + vals[i] + ';' } document.location ='https://wiki.vertuna.com/display/TEST/form+preset+from+table+rows+simple+demo?cf_name=myform&cf_values=' + formParams; } </script> |
mytext | another | ||
---|---|---|---|
some values here and there | s234 |
| |
not read | 508 |
|
<a href="https://wiki.vertuna.com/display/TEST/form+preset+from+table+rows+simple+demo?cf_name=myform&cf_values=mytext:hello;another:world">just a hello world link</a> |
Source:
|