Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 2 Years, 1 Month, 3 Weeks ago What is this script?
#1
Solved: 2 Years, 1 Month, 3 Weeks ago
Does anyone know what this script is, found in the login form?

	<script type="text/javascript">
					$("#quick_login input[name='url']").val($(location).attr('href'));
				</script>
Hey man, what's up?
Reply
#2
Solved: 2 Years, 1 Month, 3 Weeks ago
that is for keeping the user on the same page where quick login form is used for login.

if we use regular login form (~/member.php?action=login) then it redirects to index page of forum.
Reply
#3
Solved: 2 Years, 1 Month, 3 Weeks ago
(05-25-2017, 05:22 AM)Michael2014 Wrote: Does anyone know what this script is, found in the login form?

	<script type="text/javascript">
					$("#quick_login input[name='url']").val($(location).attr('href'));
				</script>

Not sure what's it does but it's supposed to be there don't remove it.
Reply
#4
Solved: 2 Years, 1 Month, 3 Weeks ago
Thank you both!
Hey man, what's up?
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)