Image col and row
Hi Alex
I have a row in the Grid where i have an ImageText, where there is defined onclick, i need to be able to get row from the image in the link, and not as in example obj.getCurrentRow(), somthing like this.row.
image.setAttribute("onclick", function(){
return "JavaScript:alert(this.col);startcall(<%=CStr(FieldNumber+1)%>,obj.getCurrentRow());startRefPage('','Test2.asp?Id=<%=CStr(Fieldarr(9,FieldNumber))%>&Action=Select&ReturnField=Id&CurCol=<%=CStr(FieldNumber+1)%>&CurRow='+obj.getCurrentRow())";
});
I have a row in the Grid where i have an ImageText, where there is defined onclick, i need to be able to get row from the image in the link, and not as in example obj.getCurrentRow(), somthing like this.row.
image.setAttribute("onclick", function(){
return "JavaScript:alert(this.col);startcall(<%=CStr(FieldNumber+1)%>,obj.getCurrentRow());startRefPage('','Test2.asp?Id=<%=CStr(Fieldarr(9,FieldNumber))%>&Action=Select&ReturnField=Id&CurCol=<%=CStr(FieldNumber+1)%>&CurRow='+obj.getCurrentRow())";
});
Flaffer
June 26,