+ 3
JS is not working properly after redirecting from a php page !
Hey guys, I'm working with a project, in this, I'm using jQuery. I have two pages, 1.index.php 2.register.php when the form in index.php submitted, the action takes place in register.php. (it gathers the inputs form index page and validates them) if there is any error, it again redirects to index page and displays the error message in a hidden paragraph element. But, when it goes to index.php, a little jQuery for some design is affected!! it works properly only if manually refreshed!! Solution please!
5 ответов
+ 4
Alexander Sokolov bro, I'll provide my code, but it includes three Js files and has 800 lines,it's on my PC.... so it's tough to type in Mobile!!!
Will you please elaborate a bit more about your idea!
It's little confusing
+ 3
how to share bro? it's big!! Can I use Sololearn in PC?
+ 2
Hello, Hemath Kumar !
try to create another file and redirect it there, and then from the new file to index.php, and I think then everything will work, also please provide your code so that other people can understand the extent of your problem
+ 1
you can copy your code on your play ground and save it and share a code link here
0
Hemath Kumar can you share your code so community can help you