Once I create a button using this code:
<input type="button" value="Click Here To Log In">
How do I hyperlink this button to a page on my site that is in the same frame as this one? Thanks
Once I create a button using this code:
<input type="button" value="Click Here To Log In">
How do I hyperlink this button to a page on my site that is in the same frame as this one? Thanks
Easiest way:Code:<form action="login.html" method="get"> <input type="submit" value="Click here to log in"> </form>
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
The code you left doesn't work when it is in a frame.
This probably would work then, using target:Originally Posted by techsol
Code:<form action="login.html" method="get" target="frameName"> <input type="submit" value="Click here to log in"> </form>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Yes, but I was given to understand you wanted the target to be the current frame.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Yeah... the default is the current frame. If you want another frame, use the added line in red above. If not, you're set without that.
Bookmarks