Link to home
Start Free TrialLog in
Avatar of Glacier
Glacier

asked on

Javascript (How to display results two inline frames)

Hi,

I have a website I'm trying to create if you look at www.onlinejobs.com.au/xintro.htm for details.
On the xintro.htm file there is two inline frames
Frame 1) On the Left is a search Option
Frame 2) On the right Where the pictures are if you select
         the chatroom you will see the frame change.

On the left is a search option (Frame 1) when searching when you click submit it returns the results in a seperate page (pop up).
I want the results to be inserted into the frame on the right (Frame 2.

To get the search results to open up on a seperate webpage I added the below(Target).
How do I tell it to display the results in the frame 2. (HOPE THAT MAKES SENSE)

Search Page (Html Source)
<form action="seeker_jobresults.asp?NDX=0&ORD=10" method="post" name="form1" onSubmit="return enviar()" onKeyPress="checkkey()"target="main.htm">

Avatar of rajesh75
rajesh75

use <form action="seeker_jobresults.asp?NDX=0&ORD=10" method="post" name="form1" onSubmit="return enviar()" onKeyPress="checkkey()"target="rightframename">
ASKER CERTIFIED SOLUTION
Avatar of hart
hart
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thats what i posted too hart...you are just basically repeating what others post...bad day?? :)
if u check the time the difference is just 2 minutes, i was typing while u posted.

so buddy when i was posting no one was there. :-)

anywayz let glacier decide...

Regards
Hart
I posted 2 minutes before you did..:)

better luck next time...

cheers!!

@Glacier

I am glad to see your link:http://www.onlinejobs.com.au/xintro.htm work!!!

The frame name did the trick eh???

I guess the question can be closed now!!! :)
Avatar of Glacier

ASKER

I'm gonna be a bastard, first answer helped a bit, But I'm a newbie to Html so I went back and read Hart's which explained it a bit better and also gave the name of what to put in there i1 which I input and tested and now is working.

So thanks to both but Hart's helped me the most.
just to let you know

in your site the keywords text box pops an javascript error. (if it doesn't pop for u then check the status bar you might find a small icon showing an error)

i think its because of onKeyPress="checkkey()"

remove this from the form tag..


Regards
Hart
And thanks :-)

Regards
Hart