I know there is a hundred answers to refresh parent page on click with an Iframe but I cant seem to get this one to work
I am trying to get a login form in a highslide iframe that when you click submit it logs in and then refreshes the parent page
the link is here
http://www.jd-solutions.biz/te2/
I have just left it as a link next to the search box that says "content in Iframe"
The code for the form on the iframe is
- Code: Select all
<form method='POST' action='index.php'>
<input type='hidden' name='list' value='user'>
<input type='hidden' name='method' value='login'>
Name: <input type='text' name='name' value="admin"><br>
Password: <input type='password' name='password'><br>
<input type='submit' value='Ok' name='gsubmit' onsubmit="parent.location.refresh()">
</form>
Any help would be greatly appreciated