Hi All,
Im trying to implement the one to one chatting functionionality, I was shown the following code snippet to accomplish this task:
**************************
<script src="CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx"></script>
Users
<a href="#" onclick="Chat_OpenContact('IE')"><img src="CuteSoft_Client/CuteChat/Images/avatar.gif">UniqueName=IE</a>
<br>
<br>
<a href="#" onclick="Chat_OpenContact('Netscape')"><img src="CuteSoft_Client/CuteChat/Images/avatar.gif">UniqueName=Netscape</a>
**************************
Here is my code I have within my test page:
<script src="../../CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx"></script>
Users
<br />
<a href="#" onclick="Chat_OpenContact('IE')">UniqueName=IE</a>
<br />
<br />
<a href="#" onclick="Chat_OpenContact('Netscape')">UniqueName=Netscape</a>
The problem im having is that when I click the hyperlink I get the following error “Microsoft JScript runtime error: Object expected” and it is highlighting the <a href="#" onclick="Chat_OpenContact('Netscape')"> section.
Any ideas on what could be the issue. All the files are there.
Thanks in advance