Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    1
    Member #
    38602

    JS works in a html file but not in a PHP file [NOOB]

    I have the following form in a website: http://jsbin.com/hihodaxa/3/, it works when the file is html but when I make it php so i can use include (templates), it doesn't work. The rest of the JS code executes fine. The form is not in English, sorry

    Any help is much appreciated.

    Best,
    Ivan

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,686
    Member #
    5580
    Liked
    716 times
    Can you post the file when you have it made as PHP?

    You can't just save it as "something.php" and include it ..

    You could try saving the form as "myform.html" and including that in your PHP page.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 05:39 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com