Error on Integrating One to One Chatting

Last post 09-23-2010, 1:52 AM by Kenneth. 1 replies.
Sort Posts: Previous Next
  •  09-22-2010, 7:20 PM 64148

    Error on Integrating One to One Chatting

    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

    Filed under: , ,
  •  09-23-2010, 1:52 AM 64153 in reply to 64148

    Re: Error on Integrating One to One Chatting

    Hi Calsy,

     Get this issue because the following code does not point to the correct path

     <script src="../../CuteSoft_Client/CuteChat/IntegrationUtility.js.aspx"></script>

     Regards,

     Ken

View as RSS news feed in XML