BadgerDog
09-03-2012, 02:44 PM
I'm trying to get a piece of code to fetch the userid of the poster in any given thread and pass it to a javascript..
Here's the code
<a href="javascript:void(0)" onclick="javascript:jqcc.mychat.chatWith('1');">Chat with me</a>
Instead of the absolute "1", what would be the variable name I substitute in order to have "1" replaced with the userid of the poster?
Thanks for any help .. :)
Regards,
Doug
Here's the code
<a href="javascript:void(0)" onclick="javascript:jqcc.mychat.chatWith('1');">Chat with me</a>
Instead of the absolute "1", what would be the variable name I substitute in order to have "1" replaced with the userid of the poster?
Thanks for any help .. :)
Regards,
Doug