Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Hyperlink via form button

Featured Replies

Hi there folks,

 

can anyone tell me if it's possible to use a form button (not an image) as a hyperlink, and then to target an iFrame? Basically I have an iFrame where the user selects different pages via a combo-box to appear in the iFrame, but I want a 'reset' button to revert back to the iFrame 'home' page.

 

Thanks in advance

 

Steven

Hi,

I am not getting your point can you clear a little bit more. help to understand.

Thanks

One option is to have a form setup thusly:

 

 <form method="post" target="myiframename" action="http://mydefaultpage.com/">
<input type="submit" value="reset" />
 </form>

 

there are other ways to do it with javascript but this way is simple and doesnt need js enabled.

Edited by WebSetGo

  • Author

One option is to have a form setup thusly:

 

 <form method="post" target="myiframename" action="http://mydefaultpage.com/">
<input type="submit" value="reset" />
 </form>

 

there are other ways to do it with javascript but this way is simple and doesnt need js enabled.

 

 

That's exactly what I needed, thank you very much. :)

 

I had a feeling "form method="post"" was involved but just couldn't string it together

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.