Avatar of Whing Dela Cruz
Whing Dela Cruz
Flag for Anguilla

asked on 

return false must be hit after calling certain command

Hi Experts, I need to make the "return false", work after calling "document.getElementById("imageid").src="E:\Products\"+picNumber + ".jpg";" As the code below the "return false" will no longer work. Is there any alternatives to keep this thing work?  

     $('#myTable button.Showbutton').click(function() {
       picNumber = ($(this).closest('tr').find('td:eq(4)').html());
       document.getElementById("imageid").src="E:\Products\"+picNumber + ".jpg";
       return false;

               <div id="Subnav4">
                     <img src="" id="imageid" alt="x-men" style="width:250px; height:250px;">
JavaScriptHTMLASPVB Script

Avatar of undefined
Last Comment
Banshi lal dangi

8/22/2022 - Mon