Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 5th, 2004, 09:27 AM
Registered User
 
Join Date: Dec 2004
Location: Fowey, Cornwall, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Javascript validation no longer runs under SSL

I've a form on my website (www.penmarlampark.co.uk) which had some Javascript validation. This is hosted on a Linux Server by 1 and 1.

I've just added SSL and the validation code no-longer runs.

Why is this and how do I get round it?

Many thanks for any help

Marcus

Reply With Quote
  #2 (permalink)  
Old December 6th, 2004, 06:33 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Do you mean client side code no longer runs when the url is https://...?
Can you show a small sample?


--

Joe (Microsoft MVP - XML)
Reply With Quote
  #3 (permalink)  
Old December 6th, 2004, 08:04 AM
Registered User
 
Join Date: Dec 2004
Location: Fowey, Cornwall, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes - that's exactly the problem, when I use https:// the Form validation code (onsubmit) either does not trigger or does not run for some reason - consequently you can now submit the for with no / or incorrect data.

You can see the form and the code at www.penmarlampark.co.uk/bookingform.htm

Thanks

Marcus

Reply With Quote
  #4 (permalink)  
Old December 6th, 2004, 08:26 AM
Registered User
 
Join Date: Dec 2004
Location: Fowey, Cornwall, United Kingdom.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Major apologies - it's not the SSL - somehow I manage to srew up the code at the same time

All now solved

Thanks for looking anyway

Marcus

Reply With Quote
  #5 (permalink)  
Old December 6th, 2004, 08:47 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well I thought it was strange, but with computers you never know :)

Glad it's sorted.

Regards



--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
javascript datetime validation Hannibal Javascript 1 December 5th, 2007 06:39 AM
Javascript whit SSL? NeoNmaN Javascript 0 February 14th, 2007 07:50 AM
Javascript, SSL, and Back Button jdhemphill Javascript How-To 0 January 31st, 2007 09:44 AM
Javascript and SSL jdhemphill Other Programming Languages 0 January 30th, 2007 05:22 PM
Javascript & SSL? gabriellia Javascript 1 December 6th, 2003 10:05 PM



All times are GMT -4. The time now is 12:40 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.