hi to all there i have problem with links management, my problem is that i want to pass the resultSet object to javascript function but it can all me do this but display error undefine link value or object value is null my code is
function hyperlinkvalue(passvalue)
{
var hyper=passvalue;
alert(hyper);
document.formName.textfieldtoassignlinkdata.value=hyper;
}
//"ref is the Arraylist"
// i is the integer of for loop
<a href="<%=ref.get(i).toString()%>" name="<%=i%>" onclick="hyperlinkvalue(<%=ref.get(i).toString()%>)"><%out.println(ref.get(i).toString()); %></a>
plz plz plz help me out of this problem