Hébergeur de fichiers indépendant

RPIND household.js

À propos

Type de fichier
Fichier JS de 4 Ko (text/plain)
Confidentialité
Fichier public, envoyé le 11 juillet 2017 à 12:43, depuis l'adresse IP 20.138.x.x (US)
Sécurité
Ne contient aucun Virus ou Malware connus - Dernière vérification: 22 heures
Statistiques
La présente page de téléchargement a été vue 200 fois depuis l'envoi du fichier
Page de téléchargement

Aperçu du fichier


document.getElementById("irm-inputfield-CaseStep_InputPerson-0--LastName").value = "LastNameTest";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--LastName").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--LastName").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--FirstName").value = "FisrtNameTest";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--FirstName").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--FirstName").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--Street").value = "10 rue du test";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--Street").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--Street").classList.add('irm-inputfield-valid');

document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--PostalCode").value = "95100";
document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--PostalCode").classList.remove('irm-inputlookup-notvalid');
document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--PostalCode").classList.add('irm-inputlookup-valid');

document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--City").value = "Argenteuil";
document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--City").classList.remove('irm-inputlookup-notvalid');
document.getElementById("lookup-irm-inputfield-CaseStep_InputPerson-0-_PostalAddress-0--City").classList.add('irm-inputlookup-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Phone").value = "0620789565";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Phone").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Phone").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Email").value = "mechat.g@gmail.com";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Email").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Email").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--BirthDate").value = "1993-02-09";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--BirthDate").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--BirthDate").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Profession").selectedIndex = "10";
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Profession").classList.remove('irm-inputfield-notvalid');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--Profession").classList.add('irm-inputfield-valid');

document.getElementById("irm-inputfield-CaseStep_InputPerson-0--GenderMale").classList.remove('irm-selectbutton-notpushed');
document.getElementById("irm-inputfield-CaseStep_InputPerson-0--GenderMale").classList.add('irm-selectbutton-pushed');

document.getElementById('irm-inputfield-CaseStep_InputPerson-0--GenderMale').click();

function eventFire(el, etype){
  if (el.fireEvent) {
  	alert("gello");
    el.fireEvent('on' + etype);
  } else {
    var evObj = document.createEvent('Events');
    evObj.initEvent(etype, true, false);
    el.dispatchEvent(evObj);
  }
}

eventFire(document.getElementById('irm-inputfield-CaseStep_InputPerson-0--LastName'), 'click');


var elementArray = document.getElementsByClassName('irm-form-row-invalid');
elementArray = [].slice.call(elementArray, 0);
for (var i = 0; i < elementArray.length; ++i){
		//alert(elementArray[0].className);
		elementArray[i].className = "irm-form-row-valid";
		//alert(elementArray[0].className);
}

//window.onload = function(){
    
//}


//irm-inputfield-valid


Partager le fichier


Télécharger RPIND-household.js


Télécharger RPIND-household.js