Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    specificare il target di un link da bottone

    codice:
    <input name="exit" type="button" id="exit"onClick="location.href='0.htm'" value="Exit">
    Come specifico il target del link associato al bottone?
    grazie

  2. #2
    in una struttura a frame?
    in tal caso:

    codice:
    <input name="exit" type="button" id="exit" onClick="top.nomeframe.window.location.href='0.htm'" value="Exit">
    ciao

  3. #3
    e per dare come taget _parent o _top?

  4. #4
    Originariamente inviato da colibrice
    e per dare come taget _parent o _top?
    così:

    codice:
    <input name="exit" type="button" id="exit" onClick="top.window.location.href='0.htm'" value="Exit">
    avrai intuito che non esiste un attributo target per i button.

    ciao

  5. #5
    perfetto! hgrazie

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.