| 
 Posted by Good Man on 06/14/50 11:57 
"Nick D" <nick.denardis@gmail.com> wrote in 
news:1157393471.762756.201500@m79g2000cwm.googlegroups.com:  
 
> Sometimes this could cause a problem by jumping to the top of the 
> page. Another way to do this without making the page jump would be to 
> put (<a href="javascript:void(0)" onclick="SomeFunction()">) 
 
i usually call: 
 
<a href="javascript://Click To Change Divs" onclick="changeDiv();"> 
 
 
i believe my example is proper coding practice - any href="javascript:xxx"  
should be avoided at all costs. 
 
best, 
gm
 
  
Navigation:
[Reply to this message] 
 |