/    Sign up×
Community /Pin to ProfileBookmark

Need help opening drop down in iframe

I need help opening the contents of a drop down box in an iframe. I am no stranger to html but no matter what I put in the form to try to target the iframe it don’t work. Thanks for the help. I have looked at many other forums and no one has an answer that works on my site.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisNov 02.2007 — What is the name of the iframe?
Copy linkTweet thisAlerts:
@tcsnguy07authorNov 03.2007 — frame 1 here is the code for the drop down that I am using. All I want is for the selected option to go to the corresponding page, but open it in an iframe. I played around with php to get it to work, but the php code wouldn't open the page just open a blank page not found error in my iframe.

here is the basic html for the drop down box:

<form action="index.html" method="post"><div align="center">

<SELECT NAME="bandsearchaz" size="1"onChange="window.open(this.options[this.selectedIndex].value,'FRAME1')" >

<OPTION selected="selected">Band Search</OPTION>

<OPTION value="searchtour.html" name="searchtour" >A-C</OPTION>

<option value="searchtour2.html" name="searchtour2">D-H</option>

<option value="searchtour3.html" name="searchtour3">I-P</option>

<option value="searchtour4.html" name="searchtour4">Q-Z</option></SELECT>

<input type="button" value="Search"/>

</div></form>
Copy linkTweet thisAlerts:
@gil_davisNov 05.2007 — &lt;SELECT ... onchange="window.top.FRAME1.location.href=this.options[this.selectedIndex].value"&gt;
×

Success!

Help @tcsnguy07 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...