views:

14

answers:

2

on clicking any row of the following program... i am firinf on function mail file click....function just having alert message that shoes deffrent file name on the bases of clicking...

*its working properly in IE .....FireBox N other browser function doesnot call on clicking on any row.. whats problem..please help me......i am writing code for your better awareness*

For Each info In fsi
Response.Write("<span id=" & " 'userijd'" & " onmouseup=" & "mailfileclick('" & info.Name & "')" & ";>")

Response.Write("<td width=" & "16%" & " bgcolor=" & "#FFFFFF" & " style=" & "border-bottom-style:&nbsp;solid;&nbsp;border-bottom-width:&nbsp;1px" & " bordercolor=" & "#C0C0C0" & " nowrap" & ">")
          Response.Write("<font face=" & "Arial" & "style=" & "font-size:&nbsp;9pt" & " color=" & "#000000" & ">" & Mid(contents, InStr(contents, "Date: ") + Len("Date:"), 17) & "</font></td>")


Response.Write("</span>")
Next
A: 

Firefox (and all other web browsers) don't run VBScript code. For cross-browser compatibility, you should always use JavaScript, not VBScript.

Delan Azabani
A: 

*For Each info In fsi Response.Write("")

Response.Write("") Response.Write("" & Mid(contents, InStr(contents, "Date: ") + Len("Date:"), 17) & "")

Response.Write("")*

this is vbscript code ... i am just calling function mailfileclick ohkkkkkkk and ohter part this page i am difing function seebelow... * function logintk(str) {
alert(str);

}

* i thing ..now you got clear about coding.... one thine more..this code working fine with Internet Exlorer ...problem Firebox and other browser....i think problem area is... ("")

better u know....u r helping hand ...

manish