0

Error in this code

<html> <head> <title>JavaScript Form Validation using a sample registration form</title> <style> h1 { margin-left: 70px; } form li { form textarea { float: left; width: 350px; height: 150px; } [type="submit"] { clear: left; margin: 20px 0 0 230px; font-size:18px } p { margin-left: 70px; font-weight: bold; } </style> <script> function formValidation() { var uid = document.registration.userid; var passid = document.registration.p

25th Apr 2017, 1:19 PM
saisuhas kodumuru
saisuhas kodumuru - avatar
4 Answers
+ 3
Your code ( the one public in your profile ) cannot work, as you put all in the JS tab, instead the HTML tab ^^ Move all from the JS to the HTML tab: it will work ( if there's no others bugs, but actually it is functionnal like that ;) )
25th Apr 2017, 4:24 PM
visph
visph - avatar
+ 1
Your code is not complete.
25th Apr 2017, 1:51 PM
Yusuf Malikul Mulki
Yusuf Malikul Mulki - avatar
0
why you can't just add link to your code?
25th Apr 2017, 1:24 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
- 1
kk
25th Apr 2017, 1:25 PM
saisuhas kodumuru
saisuhas kodumuru - avatar