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

    this.form.id e this.form.name

    mi sto perdendo in un bicchier d'acqua?

    this.form.id e this.form.name non dovrebbero restituire il valore dell'id e del name di un form

    this.form.name mi restituisce il nome della form mentre this.form.id mi restituisce un object

    coem si fa ricavare l'id della form?

    ciao e scusate la banalità della domanda

  2. #2
    this.form.getAttribute('id')

    se con Internet explorer hai ancora problemi prova con

    this.form.attributes['id'].value

    oppure

    this.form.getAttributeNode('id').value


    p.s. tante volte usassi un framework come Prototype potresti usare

    this.form.readAttribute('id')

  3. #3
    Originariamente inviato da buribus
    this.form.getAttribute('id')

    se con Internet explorer hai ancora problemi prova con

    this.form.attributes['id'].value

    oppure

    this.form.getAttributeNode('id').value


    p.s. tante volte usassi un framework come Prototype potresti usare

    this.form.readAttribute('id')
    questo: this.form.attributes['id'].value funziona con ff e ie7

    ciao e grazie mille

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.