Any help/suggestions would be greatly appreciated!!
Here is the problem that I am having and the 3 things that must be met in order for my problem to be solved.
Part 1: Create a form that runs a search on another page
Part 2: Create an inline frame that displays the contents of the search
Part 3: Have the webpage automatically jump to the anchor by the inline frame.
I have gotten the first two requirements just fine. However it seems that I can only get one action for when the user submits the form. I either get the correct data to display in the frame, but I have to scroll down the page to do this, or I get moved to the anchor, but nothing displays, or the final lovely one, I create a loop, where the main page loads in the frame.
Please help this is driving me crazy. This is probably a simple issue, but I'm a bit new to javascript, you would think that the anchor would be the easiest part!
Here is my current code
<form action=" method="post" name="shopis" target="shopisframe" id="shopis">
<input name="query" type="text" id="query" size="18" onClick="this.value=''" value="Search Shop IS!" maxlength="254" />
<input name="Submit" type="submit" id="Submit" value="Go"/>
Here is the problem that I am having and the 3 things that must be met in order for my problem to be solved.
Part 1: Create a form that runs a search on another page
Part 2: Create an inline frame that displays the contents of the search
Part 3: Have the webpage automatically jump to the anchor by the inline frame.
I have gotten the first two requirements just fine. However it seems that I can only get one action for when the user submits the form. I either get the correct data to display in the frame, but I have to scroll down the page to do this, or I get moved to the anchor, but nothing displays, or the final lovely one, I create a loop, where the main page loads in the frame.
Please help this is driving me crazy. This is probably a simple issue, but I'm a bit new to javascript, you would think that the anchor would be the easiest part!
Here is my current code
<form action=" method="post" name="shopis" target="shopisframe" id="shopis">
<input name="query" type="text" id="query" size="18" onClick="this.value=''" value="Search Shop IS!" maxlength="254" />
<input name="Submit" type="submit" id="Submit" value="Go"/>