Mahalle öğesi değerini almam gerekiyor.jQuery - mahalle öğesi alın
HTML tıklayarak
<div>
<input type='hidden' value='12345'>
<div id='click-this'>Click me</div>
</div>
Nasıl "12345" alabiliriz "click-bu" div?
$('#click-this').click(function() {
/*
* Get siblings element's:
* at this context, input tag element with value 12345
*
*/
})
+1 Bu en iyi çalışır – topherg