0
有人可以向我解釋Form.event.findElement的jQuery等價物嗎?將原型的findElement轉換爲jQuery
$('.ad-publish-button').bind('click', function(e) { // jquery
// section of prototype I need to convert to jquery
if (e.findElement('.ad').down('form').down('#location').value != '') {
e.findElement('.ad').down('form').request();
}
});