I have a submit button which i want to act as a hyperlink...
I've tried putting it inside an <a href> tag but that only works in Firefox not IE.
Using javascript I have it working using:
<input type="submit" name="Confirm" id="Confirm" value="Confirm" onclick="parent.location='http://www.google.com'" />
Which obviously takes me to google.com when clicked. However when i want to go to a page on my website such as index.html nothing happens.
Does it only support relative and not absolute addressing? It seems to work in guides on the internet, just not my site. Any ideas?
I've tried putting it inside an <a href> tag but that only works in Firefox not IE.
Using javascript I have it working using:
<input type="submit" name="Confirm" id="Confirm" value="Confirm" onclick="parent.location='http://www.google.com'" />
Which obviously takes me to google.com when clicked. However when i want to go to a page on my website such as index.html nothing happens.
Does it only support relative and not absolute addressing? It seems to work in guides on the internet, just not my site. Any ideas?