Click here to Skip to main content
15,905,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one javascript file & product page

XML
<div class="preview" style=" background:#ffffff;">
                   <center>
                    
                    <asp:ImageButton ID="imgSuryaCem" runat="server" ImageUrl="images/Images/White-Limewash.gif" style="max-height:200px; vertical-align:middle; flex-item-align:center; flex-align:center; background-position:center; " OnClientClick="lightbox_open();" />
                 </center>
                    <div id="light" onclick="lightbox_close();">
                        <a>CLOSE(X)</a><img id="imgSuryaCem1" alt=" " src="images/Big/White_Limewash.gif"  style=" vertical-align:middle; flex-item-align:center; flex-align:center; background-position:center; " />
                    </div>
                </div>



at the time of page load also java-script is executing..Please give me the solution.
Posted

1 solution

Quote:
at the time of page load also java-script is executing
That means some code is written inside the JavaScript onload Event[^] and/or jQuery $( document ).ready()[^].
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900