Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
JavaScript
function sendmsg()
{
objectmsg.type = msgtype.push;
objrouting.subid = m.subid;
objrouting.tochannel = txt_tochannel.value;
objmsg.body = txt_msg.value
debugger;
m.processrequest(objrouting, objmsg);
}


when i run this on debugger it show this error can u help me why?

microsoft jscript runtime error:object does not support this property or method.
Posted
Updated 24-Nov-11 2:07am
v2

1 solution

Hi,

Try putting alerts between each line to know which sentence is causing the error.
 
Share this answer
 
Comments
prince_rumeel 24-Nov-11 8:17am    
m.processrequest(objrouting, objmsg);
this is the line where i caught the error
_Zorro_ 25-Nov-11 4:22am    
Where does m come from, what's it's type? Are you sure processrequest is a function you can call?

I'm not a js big fan, so I won't be able to give you an answer. You could try debugging it from Visual Studio though.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900