View Single Post
  #1  
Old 03 Sep 2012, 15:44
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Question Userid fetch and pass?

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
Reply With Quote