www.webdeveloper.com
Results 1 to 3 of 3

Thread: Javascript works on HTML page but

  1. #1
    Join Date
    Sep 2007
    Posts
    2

    Javascript works on HTML page but

    does not work when it is copied in to an Aspx page.

    so what im doing is taking a website that was built in html and throwing it into aspx so i can have the vb code behind to do database work with the site. For some of the pages there are some Javascript files that are included. The javascript files are being used to communicate with a flash "slider" that is on the page. The object is that when the slider moves it sets a cookie that increases a number from 0 to 100. The problem Im having is that the pages work perfectly when they are in their .htm format. But even if i throw the html directly into the .aspx page the Flash slider no longer works.

    Any idea on what im doing wrong would be greatly appreciated. If you would like some of the code just let me know.

  2. #2
    Join Date
    May 2004
    Location
    FL
    Posts
    3,447
    Don't cross post. The other post has been removed.
    Lee

    ""Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened."" -- Sir Winston Churchill

  3. #3
    Join Date
    Nov 2006
    Location
    Springfield, MO
    Posts
    1,541
    Best bet would be to load the page in Opera or FF and use the DOM inspector to investigate what might be causing a problem. That and post code if you still have problems.
    Ryan Butler

    Ryan Butler.org

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