javascript and href
satya - Sun Oct 14 2012 09:47:03 GMT-0400 (Eastern Daylight Time)
javascript and href
javascript and href
satya - Sun Oct 14 2012 09:47:25 GMT-0400 (Eastern Daylight Time)
Same topic from sof
satya - Sun Oct 14 2012 09:48:05 GMT-0400 (Eastern Daylight Time)
I think I am going to go with
<a href="javascript:void(0)" onClick="somefunc(this)">
satya - Sun Oct 14 2012 09:50:29 GMT-0400 (Eastern Daylight Time)
href and #
href and #
satya - Sun Oct 14 2012 09:50:40 GMT-0400 (Eastern Daylight Time)
Here is an sof link
satya - Sun Oct 14 2012 10:00:44 GMT-0400 (Eastern Daylight Time)
Here is an example
<script>
function showManage(linkElement)
{
var manageDiv = $(linkElement).closest("div.manage");
var expandedManageDiv = manageDiv.siblings("div.manage_expanded");
expandedManageDiv.show();
manageDiv.hide();
//return false;
}
function hideManage(linkElement)
{
var expandedManageDiv = $(linkElement).closest("div.manage_expanded");
var manageDiv = expandedManageDiv.siblings("div.manage");
expandedManageDiv.hide();
manageDiv.show();
//return false;
}
</script>
<div class="manage">
<p>
<a href="javascript:void(0)" onClick="javascript:showManage(this)">Manage</a>
</p>
</div>
<div class="manage_expanded" style="display:none">
<p>
<a href="javascript:void(0)" onClick="hideManage(this)">Hide</a>
<a href="">Folder</a>
<a href="">xml</a>
<a href="">template</a>
</p>
</div>