• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

quick question: multiple hrefs in active desktop

#1
I'm trying to have a Yahoo login and a Google search on my active desktop. I don't use seperate html files for every piece of my desktop, I just put it all in one big file. Whenever I click login on the yahoo thing it submits it as a blank google search. What do I need to change to fix this, or is it even possible? Do I need to make it a seperate html file? Thanks.
 

Lighter

. . . . . . . . .
#2
They're both forms, be sure to separate them (<form></form>) within the html file.

Code:
<form action="http://www.google.com/search" name="f" target="_new">
<input type="hidden" name="hl" value="en">
<input type="hidden" name="ie" value="ISO-8859-1">
<input type="text" name="q" maxlength="100" size="27">
<a onClick="submit(); return false;" href="javascript:void(0)> search </a> 
<a onClick="reset(); return false;" href="javascript:void(0)"> clear</a> 
</form>


<form action="http://www.google.com/search" name="f" target="_new">
<input type="hidden" name="hl" value="en">
<input type="hidden" name="ie" value="ISO-8859-1">
<input type="text" name="q" maxlength="100" size="27">
<a onClick="submit(); return false;" href="javascript:void(0) search </a> 
<a onClick="reset(); return false;" href="javascript:void(0)"> clear</a> 
</form>
'Course, both forms are the same but you get the idea. :)
 
#3
I was missing the </form> tag on my google search, that fixed it. Is there any way to get it to submit when I hit enter instead of me having to click on it? It used to work that way with just one, but now that I have both I seem to have to click.
 

Members online

No members online now.

Latest posts

Latest profile posts

Electronic Punk wrote on Perris Calderon's profile.
All good still mate?
Hello, is there anybody in there? Just nod if you can hear me ...
Xie
What a long strange trip it's been. =)

Forum statistics

Threads
61,961
Messages
673,239
Members
89,015
Latest member
evaiwhitis