The World’s Largest Online Community for Developers

'; javascript - What can be done to focus the .mht file to open in iframe? What am I doing wrong?[SOLVED] - LavOzs.Com

I'm trying to use the below code but it is not working.

$('').click(open() { 
    var value = $(this).attr('id');
    $container.cycle(id.replace('pager_', '')); + ".mht", 'myFrame');
    return false; 
<iframe allowtransparency="true" frameBorder="2" src="" name="myFrame"> </iframe>

<li onclick="open()" id="xyz" class="link">xyz</li>
<li onclick="open()" id="abc" class="link">abc</li>
<li onclick="open()" id="mac" class="link">macro sed</li>
<li onclick="open()" id="asf he" class="link">asf he</li>