How to add startup JavaScript code from Content Page to Master Page?(aspdotnetfaq.com)

submitted by spavkovspavkov(1708) 3 years, 9 months ago

If you are creating a website that has Master and Content Pages and if you need to add some JavaScript code from your Content pages that should run when the page is loaded you fill find out that its not straightforward. Content page do not have all the elements of HTML page like BODY tag that you could hook up to and add your script code to its onload event...

add a comment |category: |Views: 21

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story