i have a href like this:
<a href="images/prevFeb-1.jpg" name="day-1" onclick="swap(this); return false;">
<img src="images/thumbFeb-1.jpg" width="50" height="50" alt="" title="thumbFeb-1.jpg" />
</a>
when the user clicks on a thumbnail, the images get swap. i will like to get the href name upon on click. and i will explode("-",$hrefName) and like to get the value "1"
any ideas many thanks!