- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
function createDataStringFromArray(data){
dataName = "outputSyntax=plain"
data.each(function(value, index){
if(value.name == "register_first_name"){
dataName = dataName + "®ister_first_name=" + value.value;
}else if(value.name == "register_last_name"){
dataName = dataName + "®ister_last_name=" + value.value;
}else if(value.name == "etablishment"){
dataName = dataName + "&etablishment=" + value.value;
}else if(value.name == "function"){
dataName = dataName + "&fonction=" + value.value;
}else if(value.name == "element_id"){
dataName = dataName + "&id=" + value.value;
}else if(value.name == "mail"){
dataName = dataName + "®ister_email=" + value.value;
}else if(value.name == "phone"){
dataName = dataName + "®ister_phone=" + value.value;
}else if(value.name == "mobile"){
dataName = dataName + "®ister_mobile=" + value.value;
}else if(value.name == "access"){
dataName = dataName + "&access=" + value.value;
}else if(value.name == "mail_alerts"){
dataName = dataName + "&mail_alerts=" + value.value;
}
})
return dataName;
}
Fike 11.07.2014 23:14 # +2
это отабление!