Il Thu, 27 Dec 2007 13:00:53 -0800 (PST), miciomao ha scritto:
Quote:
th width="150"><a style="cursor: pointer;" onmouseover="
return escape('<table width='220'><tr><td class='c' colspan='2'>nick
Bollicino</td></tr><tr><th width='45'><img src='http://
www.avatarmobile.com/avatar.php?avatarm_id=5377cdedf3e068810a6891b12f97 413c'
height='80' width='80'/></th><th style='text-align: left'><a href='?
mode=info&start=3212'>Pos: 3212</a><br><br><a href='?
mode=messages&option=write&id=31470'>Scrivi messaggio</a><br /><a
href='?mode=buddy&option=apply&id=31470'>Richiedi inserimento</a></
td></tr></table>');"><span class=w title=W>Bollicino</span></a></th
Dovrei estrarre il nr di id utente contenuto nell' href mode=messages
Ho provato ad intercettarlo con il seguente codice ma non ci sono
riuscito
mbid = parseInt(cells[4].getElementsByTagName('a')
[2].getAttribute('href').match(/id=(\d+)/)[2]); |
sopra onmouseover restituisci una stringa (return escape('table ...). é
quindi una semplice stringa, non fa parte del DOM ...
Cosa fa questo onmouseover, scusa? non riesco ad immaginarmelo ...
spiega il contesto.
--
"E' l' ignoranza che crea l'intolleranza
di gente cieca e senza coscienza"
S.S.S.