Firefox doesnot support program based calling function
on clicking any row of the following program... I am firing on function mail file click....function just having alert message that shows different file name on the basis of clicking...
****its working properly in IE .....Firefox 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: solid; bor开发者_运维技巧der-bottom-width: 1px" & " bordercolor=" & "#C0C0C0" & " nowrap" & ">")
Response.Write("<font face=" & "Arial" & "style=" & "font-size: 9pt" & " color=" & "#000000" & ">" & Mid(contents, InStr(contents, "Date: ") + Len("Date:"), 17) & "</font></td>")
Response.Write("</span>")
Next
this is vbscript code ... i am just calling function mailfileclick ohkkkkkkk and ohter part this page i am difing function seebelow...
<script type="text/javascript">
function logintk(str) {
alert(str);
}
</script>
i thing ..now you got clear about coding.... one thine more..this code working fine with Internet Exlorer ...problem Firefox and other browser....i think problem area is... ("")
better u know....u r helping hand ...
Firefox (and all other web browsers) don't run VBScript code. For cross-browser compatibility, you should always use JavaScript, not VBScript.
精彩评论