Well, I have a problem with one variant of the bookmark form; you see, on the
http://tadej-ivan.50webs.com/index.html where I use
input type="button" there is no redirect at all after pressing the "Bookmark" button, but on my other website
http://tadejpersic.50webs.com/index.html where I use
type="image" instead, the visitor is redirected to some strange URL that I guess is generated randomly.
The three examples of the mentioned redirect:
Code:
http://tadejpersic.50webs.com/?x=7&y=5&index=#
Code:
http://tadejpersic.50webs.com/?x=5&y=9&index=#
Code:
http://tadejpersic.50webs.com/?x=8&y=15&index=#
The code on the "
tadej-ivan.50webs.com" variant:
Code:
<form action="#" /><input type="button" value="Bookmark" onclick="bookmark('http://tadej-ivan.50webs.com/index.html','Tadej\'s computing homepage')" />
The code on the "
tadejpersic.50webs" variant:
Code:
<form action="#">bookmark: <input type="image" src="save.png" title="bookmark page" onclick="bookmark('http://tadejpersic.50webs.com/about-site.html','Tadej Persic\'s website | about site')" /></form>
Oh and regarding the second example-code above, I guess it could also be without the closing
</form> tag but with
<form action="#" /> as in the first example above, also see the recent
A banal question on two variants of 'form' code thread that I opened here on DP forums.
So I am asking you, does anyone have any idea why the difference??!
P.S. - I also wrote about this problem in the
A strange problem/situation with some particular form thread, and under the last "P.S." paragraph in my
first/initial post in the
A bookmark form adds 'Load in sidebar' in Firefox thread that I also opened here on DP forums.
Thanks in advance, tayiper