I am trying to call one javascript function in between my query string in the following manner but its not working......Can anybody point out whether i am doin it correctly or not? My motive is to remove special characters(#,& etc.) from one of the parameters(appName) in my query string............plz help!!
<a target="_self" onmouseout="hideTooltip()" onmouseover="showTooltip(event,'click on the name for additional details');return false" class="tip" href='<%=request.getContextPath()%>/index.jsp?page=myhome&type=details&appName=javascript:escape('<%=adMetricsVO.getApplicationName()%>')&Id=<%=bean.getID()%>'><%= bean.getName()%></a>
hrefattribute -- it's not a JavaScript-aware attribute.