Author: webcrab | Posted on: 5/26/2009 6:50:52 AM | Views : 261

hi, i think i've got a syntax problem, i want to use js to alert a class property, could u see what am i missing?
 ListOfMessages = (ArrayList) Application["MessagesTitles"]; String TitlesList = "&lt;ul>"; for (int i = 0; i < ListOfMessages.Count; i++) { ContentMsg ThisArticle = (ContentMsg) ListOfMessages[i]; TitlesList += string.Format("&lt;a href='#' onmouseover='m1.stop()' onmouseout='m1.start()' onclick='alert({0})'> {1}</a>",ThisArticle.getcntnt,ListOfMessages[i].ToString()); right up here i ...

Go to the complete details ...