dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Enable a part of my code when checkbox is checked in different page

  1. #1
    Join Date
    Jul 2013
    Posts
    2

    Enable a part of my code when checkbox is checked in different page

    Hi I'm looking for a way to enable a part of my code on my main index.html page if a box is checked at the dingo.html page. I might be in the wrong section of this forum if so please tell me but I would rather make it in HTML if its possible as that's the only language I have at least som basic knowledge about.

  2. #2
    Join Date
    Mar 2011
    Posts
    1,156
    You cannot create a page that will change itself depending on external information using HTML alone. Some software will be required: either JavaScript within the page itself, or with server-based software that generates the page content. You're going to find that JavaScript is the mechanism that is best suited for dynamically changing the appearance of webpages, I'd suggest that you start learning it. Do yourself a favor and find an online tutorial and learn the basics before you go out and try to find snippets of code that you can copy and paste into your pages. You'll save yourself an endless amount of frustration, wasted time and effort by gaining a basic understanding of how JavaScript works first. Give it at least a week. Good luck!

  3. #3
    Join Date
    Jul 2013
    Posts
    2
    Quote Originally Posted by rtrethewey View Post
    You cannot create a page that will change itself depending on external information using HTML alone. Some software will be required: either JavaScript within the page itself, or with server-based software that generates the page content. You're going to find that JavaScript is the mechanism that is best suited for dynamically changing the appearance of webpages, I'd suggest that you start learning it. Do yourself a favor and find an online tutorial and learn the basics before you go out and try to find snippets of code that you can copy and paste into your pages. You'll save yourself an endless amount of frustration, wasted time and effort by gaining a basic understanding of how JavaScript works first. Give it at least a week. Good luck!
    Thank you for the answer, I'll do as you say an hopefully ill have som luck

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles