Muhtemelen basit bir soru ama jQuery girişinin adını yazdı nasıl:Girdi adı jQuery
HTML
<input type="hidden" name="user[profile_attributes][birthdate(3i)]" value="3">
JQUERY:
Bu iş gibi görünüyor değil veya hata başka bir yerde geçerli:
jQuery('input[name="user[profile_attributes][birthdate(3i)"]')
sen selektör –
yazım hatası sonunda birini ']' eksik: 'jQuery ('input [name =" kullanıcı [ profile_attributes] [doğum tarihi (3i) ']') '' '' '' '' 'olmalıdır. https://jsfiddle.net/2sgetdpL/ (mevcut querySelector sizin girişiniz [name = ”kullanıcı [profile_attributes] [birthdate (3i)' yerine [input = ”kullanıcı [profile_attributes] [birthdate (3i)] ] ') – briosheje
Teşekkürler tipo ve gizle() + diable, formda var göndermemek için true – Wordica