Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/05/2012, 00:38
WalkmanXZ
 
Fecha de Ingreso: abril-2010
Ubicación: Mexico
Mensajes: 21
Antigüedad: 14 años
Puntos: 0
Respuesta: Mas de una funcion/evento para el atributo onclick

@zerokilled no me funciono, no se si deva a que son eventos distintos, es decir, que una funcion llama a un evento y otra a otro. Lo intente asi y solo se ejecutaba el evento 1

Código PHP:
            $post['thanks'] = "<a id=\"a{$post['pid']}\" onclick=\"return thx({$post['pid']}) && hideuntilthanks_reload()\" href=\"showthread.php?action=thank&tid={$post['tid']}&pid={$post['pid']}\">
            <img src=\"{$mybb->settings['bburl']}/{$theme['imgdir']}/postbit_thx.gif\" border=\"0\" alt=\"$lang->thx_main\" title=\"$lang->thx_main\" id=\"i{$post['pid']}\" /></a>"